This endpoint triggers a CopyCat automation with your specified variables. It returns a history ID that you can use to track the execution status.
URL Parameters
The ID of the CopyCat you want to run
Your API key should be just token
Body
Object containing the variables needed for your automation
Response
Unique identifier for tracking this execution
The ID of the CopyCat that was triggered
Current status of the execution (e.g., “in_progress”)
Empty object initially, will contain results when completed
curl -X POST 'https://api.runcopycat.com/v1/copycats/run/your-copycat-id' \
-H 'Authorization: <token>'
-H "Content-Type: application/json" \
-d '{
"variables": {
"key": "value",
"key1": "value1",
},
}'
{
"copycat_history_id": "7eac18ce-4bf2-4514-9ba7-504c2117f4bd",
"copycat_id": "db0a5e6b-4abe-477f-8c27-3734b0c0e308",
"status": "in_progress",
"result": {}
}