Botpress API doesn't work
# 🤝help
Trying to list and then get a single bot in our workspace via the API Trying to list bots I made the following curl: First it requires a workspaceID which isn't listed in the API docs but second it says I don't have permission to view them? What gives? is there better docs for the cloud API? We want to list, get, and update our bots via github actions
Copy code
curl --request GET \
  --url \
  --header 'Authorization: Bearer %MYPAT%' \
  --header 'Content-Type: application/json' \
  --header 'x-workspace-id: %MYWORKSPACEID%'
Maybe I’ve got the workspaceid wrong?
I was able to get past this by snagging the workspace-id from a request in chrome (it's different than the id in the url) But now I'm curious if there is API access to the bot itself (the export from studio)? I don't see it in the API. We are trying to setup a CI/CD pipeline around the bot to allow multiple devs to work on the bot at one time.