Introduction
API Reference Version 3
Welcome to Captain Data API v3, which allows you to automate actions, retrieve jobs (runs), access results, and manage users and their accounts. If you encounter any issues using this API, feel free to reach out at support@captaindata.co.
If you’re new to Captain Data, we recommend reviewing the following resources before diving into the API:
- Quickstart – A brief overview of how to use the API.
- Core Concepts – A description of core objects and how to interact with them.
Authentication
To authorize requests, you need to add the following headers to all API requests:
Authorization: x-api-key YOUR_API_KEY
x-project-id: YOUR_WORKSPACE_UID
Here’s an example of a request to the API:
All subsequent examples will use these two headers as part of the request.
To get your workspace’s UID and API key, go to Workspace’s Settings and copy the appropriate values.
Playground
Each API endpoint has an interactive playground where you can test requests directly.
Additionally, in our UI, when working within a workflow, you’ll find a pre-generated cURL command to launch the workflow along with the appropriate payload body.