Automations

Get a specific automation by ID

GET
/api/automations/{id}

Returns a single Automation in the caller organization, enriched with the caller's SMS notification settings. Empty action arrays are stripped from the response.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Response Body

application/json

application/json

curl -X GET "https://example.com/api/automations/string"
{  "success": true,  "data": {    "_id": "64d2f9c5e8a1d4e001a0b1c2",    "name": "Follow-up after 24h",    "description": "Send a follow-up SMS if the lead has not replied in 24h.",    "triggerLogicType": "timer",    "enabled": true  }}