curl -X POST https://api.classet.ai/v2/message-automations/12/duplicate \
-H "X-API-KEY: your-api-key" \
-H "Content-Type: application/json" \
-d '{
"title": "HVAC Outreach - West Region"
}'
{
"data": {
"id": 15,
"title": "HVAC Outreach - West Region",
"description": "Standard drip for trade roles",
"is_default": false,
"agent_identity": null,
"agent_config_id": null,
"created_at": "2025-01-20T14:00:00Z",
"steps": [
{
"id": 201,
"name": "Initial Outreach",
"channel": "sms",
"message": "Hi {candidate.firstname}...",
"delay_hours": 0,
"enabled": true,
"order": 1,
"message_automation_id": 15
}
]
}
}
Message Automations
Duplicate Message Automation
Create a copy of an existing message automation with all its steps.
POST
/
v2
/
message-automations
/
{automationId}
/
duplicate
curl -X POST https://api.classet.ai/v2/message-automations/12/duplicate \
-H "X-API-KEY: your-api-key" \
-H "Content-Type: application/json" \
-d '{
"title": "HVAC Outreach - West Region"
}'
{
"data": {
"id": 15,
"title": "HVAC Outreach - West Region",
"description": "Standard drip for trade roles",
"is_default": false,
"agent_identity": null,
"agent_config_id": null,
"created_at": "2025-01-20T14:00:00Z",
"steps": [
{
"id": 201,
"name": "Initial Outreach",
"channel": "sms",
"message": "Hi {candidate.firstname}...",
"delay_hours": 0,
"enabled": true,
"order": 1,
"message_automation_id": 15
}
]
}
}
Create a copy of an existing message automation with all its steps. The duplicate is never set as the default.
curl -X POST https://api.classet.ai/v2/message-automations/12/duplicate \
-H "X-API-KEY: your-api-key" \
-H "Content-Type: application/json" \
-d '{
"title": "HVAC Outreach - West Region"
}'
{
"data": {
"id": 15,
"title": "HVAC Outreach - West Region",
"description": "Standard drip for trade roles",
"is_default": false,
"agent_identity": null,
"agent_config_id": null,
"created_at": "2025-01-20T14:00:00Z",
"steps": [
{
"id": 201,
"name": "Initial Outreach",
"channel": "sms",
"message": "Hi {candidate.firstname}...",
"delay_hours": 0,
"enabled": true,
"order": 1,
"message_automation_id": 15
}
]
}
}
Authorizations
Was this page helpful?