v1

latestOpenAPI 3.0.32026-07-26120117318.1 KB
Automations

Get an automation

Returns a single automation by ID.

get/automations/{automation_id}

Path parameters

automation_idstring required

Automation identifier.

Response

Automation details.

object'automation' required

Always "automation".

idstring required

Unique automation identifier.

urlstring required

Canonical API path for this automation.

namestring required

Human-readable name of the automation.

captionstring required

Optional description of the automation.

statusstring required

Lifecycle status of the automation. paused is set via PATCH /automations/{id}/status to temporarily stop an active automation without deleting it. unknown is returned as a forward-compatibility fallback and should not be written.

Example response

{
  "id": "auto-abc123",
  "url": "/v4/automations/auto-abc123",
  "name": "Welcome Flow",
  "caption": "Sends a welcome message to new users",
  "status": "active",
  "data": {
    "type": "event",
    "platform": "iOS",
    "initiators": [
      {
        "uid": "2",
        "type": "event"
      }
    ],
    "actions": {
      "push": "nCRUE7SW",
      "screen": "qUY7JXgF"
    },
    "segments": "A0SzRbM2vmmwixbpQxtI"
  }
}