API Documentation
Business API
- Workspace
- Users
- Integrations
- LinkedIn
- Workflows
- Runs
- Inputs
- Webhooks
Workflows
Launch a Workflow
POST
/
v3
/
workflows
/
{workflow_uid}
/
schedule
Copy
curl --request POST \
--url https://api.captaindata.co/v3/workflows/{workflow_uid}/schedule \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--header 'x-project-id: <api-key>' \
--data '{
"job_name": "Get Yann Lecun Linkedin Profile",
"steps": [
{
"accounts": [
"fc457336-63da-47f8-9a3c-53f2581d0ccb"
],
"accounts_rotation_enabled": true,
"parameters": {},
"output_column": null,
"step_uid": "xxxxxx-xxxxx-451f-ac94-2b41972ec6a7"
}
],
"inputs": [
{
"linkedin_profile_url": "https://www.linkedin.com/in/yann-lecun/",
"meta": {
"hubspot_company_id": "***",
"hubspot_people_id": "***",
"your_meta_key": "***"
}
}
],
"unstructure_meta": false,
"repeat_option": {
"type": "minute",
"value": 10
}
}'
Copy
{
"workflow": {
"uid": "xxxxxx-xxxx-4eeb-ada7-652fb498f540",
"permalink": "extract-linkedin-people-profile085eef00-7e08-4abc-9971-217d3b65089b",
"name": "Extract LinkedIn People Profile",
"created_at": "2024-10-26T22:35:35.803378",
"project_id": 1,
"linked_templates": [
"xxxxxxx-xxxxx-4288-8959-ef5759254ea1"
],
"template_uid": "76fc370f-110b-4288-8959-ef5759254ea1"
},
"message": "Bot successfully scheduled.",
"job_uid": "789416bd-9bc6-49be-9e21-d8037d1e393b"
}
Authorizations
The Authorization header must include 'x-api-key' followed by your API key (e.g., 'Authorization: x-api-key YOUR_API_KEY').
Workspace UID required to identify the workspace.
Path Parameters
Body
application/json
Response
200
application/json
Successful Response
The response is of type any
.
Copy
curl --request POST \
--url https://api.captaindata.co/v3/workflows/{workflow_uid}/schedule \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--header 'x-project-id: <api-key>' \
--data '{
"job_name": "Get Yann Lecun Linkedin Profile",
"steps": [
{
"accounts": [
"fc457336-63da-47f8-9a3c-53f2581d0ccb"
],
"accounts_rotation_enabled": true,
"parameters": {},
"output_column": null,
"step_uid": "xxxxxx-xxxxx-451f-ac94-2b41972ec6a7"
}
],
"inputs": [
{
"linkedin_profile_url": "https://www.linkedin.com/in/yann-lecun/",
"meta": {
"hubspot_company_id": "***",
"hubspot_people_id": "***",
"your_meta_key": "***"
}
}
],
"unstructure_meta": false,
"repeat_option": {
"type": "minute",
"value": 10
}
}'
Copy
{
"workflow": {
"uid": "xxxxxx-xxxx-4eeb-ada7-652fb498f540",
"permalink": "extract-linkedin-people-profile085eef00-7e08-4abc-9971-217d3b65089b",
"name": "Extract LinkedIn People Profile",
"created_at": "2024-10-26T22:35:35.803378",
"project_id": 1,
"linked_templates": [
"xxxxxxx-xxxxx-4288-8959-ef5759254ea1"
],
"template_uid": "76fc370f-110b-4288-8959-ef5759254ea1"
},
"message": "Bot successfully scheduled.",
"job_uid": "789416bd-9bc6-49be-9e21-d8037d1e393b"
}
Assistant
Responses are generated using AI and may contain mistakes.