Developers
Askpilot Public API
Askpilot lets you create and run workflows. Use our API to trigger workflows from your own systems.
Learn anything about Askpilot in your AI agent
Open the whole documentation in Claude or ChatGPT and ask anything, or copy the Markdown and use it in any AI agent.
What you can do with the API
With the API you can list the workflows in your organization and trigger any of them. That means a workflow you have set up in Askpilot can be started from your own systems: a CRM, a booking tool, an internal app or anything else you use. More capabilities are coming soon.
To learn more about how workflows are started through the API, see the Workflows page.
Get your API key
Keys are created and managed in the Askpilot app. Below is a step by step guide on how to create one and use it safely.
- Open the API settings. In the Askpilot app, go to Settings → API.
- Create a key. Click Create key, give it a name and select its scopes, then copy it straight away. The key is only shown once. To find a workflow's ID the key needs the
workflows:readscope, and to start one it needsworkflows:write. - Send it as a Bearer token. Put the key in the
Authorizationheader of every request:Authorization: Bearer <key>. - Keep it secret. Treat the key like a password. Load it from an environment variable or a secrets vault on your own servers, and never put it in client-side code, version control or logs. If a key is exposed, revoke it in Settings → API and create a new one.
Use the API
Every endpoint, with request and response examples, is in the reference. If you work with Python, an official SDK is available.
Have any questions about the API? Email support@askpilot.com.