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.

Claude ChatGPT View as Markdown

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.

  1. Open the API settings. In the Askpilot app, go to Settings → API.
  2. 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:read scope, and to start one it needs workflows:write.
  3. Send it as a Bearer token. Put the key in the Authorization header of every request: Authorization: Bearer <key>.
  4. 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.