Skip to main content
GET
/
v1
/
automations
/
{automationId}
Obter automação
curl --request GET \
  --url https://api.notifique.dev/v1/automations/{automationId} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "id": "<string>",
    "workspaceId": "<string>",
    "name": "<string>",
    "status": "ENABLED",
    "triggerEventName": "<string>",
    "graphJson": {
      "steps": [
        {
          "stepKey": "<string>",
          "stepType": "trigger",
          "config": {
            "eventName": "<string>"
          }
        }
      ],
      "connections": [
        {
          "from": "<string>",
          "to": "<string>",
          "branch": "true"
        }
      ],
      "nodeLayout": {}
    },
    "graphVersion": 123,
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "deletedAt": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

Authorization: Bearer sk_live_...

Path Parameters

automationId
string
required

Cuid da automação.

Response

Registro completo incluindo graphJson.

success
enum<boolean>
required
Available options:
true
data
object
required