How can I use the API to export an artboard

I successfully authenticated, btu ran into errors trying to export an artboard using the API. I’m trying to integrate penpot into some automation I’m building any pointers would be appreciated. A simple example curl command would be forever loved!