Welcome to the Captain Data API v3, a powerful tool that allows you to launch workflows, retrieve jobs and results, and manage users and their accounts.
This guide will provide you with a concise overview of how to use any endpoint in the API.
To authenticate with the Captain Data API, you need to add the
Authorization header with
x-api-key along with the
x-project-id header to all requests. You can find your project's UID and your API key in your Project's Settings. Remember, never share your credentials!
curl --location 'https://api.captaindata.co/v3/project' \
--header 'Authorization: x-api-key YOUR_API_KEY' \
--header 'x-project-id: YOUR_PROJECT_UID'
The Project Workspace endpoint allows you to retrieve basic information about your project, such as the number of tasks used and left. To access this, you would use the
GET method on the following endpoint:
curl --location 'https://api.captaindata.co/v3/workspace' \ --header 'Authorization: x-api-key YOUR_API_KEY' \ --header 'x-project-id: YOUR_PROJECT_UID'
Workflows, Jobs, Results, and More
The Captain Data API v3 also includes endpoints for workflows, jobs, results, inputs, users, integrations, collections, rate limit, webhooks and common errors. Each of these endpoints provides specific functionality for interacting with the Captain Data platform.
For more detailed information about these endpoints, please refer to the official documentation.
If you're having any trouble using this API, don't hesitate to reach out to the Captain Data support team at firstname.lastname@example.org.
Remember, the key to effectively using any API is to read the documentation thoroughly and understand what each endpoint does. Happy coding!
⚠️ When using the API, we suggest you try on a small batch of inputs to be able to scale your processes after.
We strongly advise using the API playground to generate your body to schedule.
You need to fill in the configuration on the platform and save it.
Then, it will be automatically filled in the API playground for you to copy it.
To understand how the API Playground works, please refer to this article: Launch workflows & get results with the API