Automations

Get all automations for the organization

GET
/api/automations

Returns every Automation in the caller organization, sorted by createdAt desc, enriched with the calling user's SMS notification settings. Empty action arrays are stripped from the response.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Response Body

application/json

application/json

curl -X GET "https://example.com/api/automations"
{  "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    }  ]}