Skip to main content
POST
/
copycats
/
run
/
{copycat_id}
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": {}
}
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

copycat_id
string
required
The ID of the CopyCat you want to run

Headers

Authorization
string
required
Your API key should be just token

Body

variables
object
Object containing the variables needed for your automation

Response

copycat_history_id
string
Unique identifier for tracking this execution
copycat_id
string
The ID of the CopyCat that was triggered
status
string
Current status of the execution (e.g., “in_progress”)
result
object
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": {}
}