Skip to content

Get a single automation by ID

Request

Security
bearerAuth
Path
organizationIdstringrequired

Organization ID of the member accessing the resource

Example:my-organization-id
automationIdinteger, ( 0 .. 9007199254740991 ]required
curl -i -X GET \
  'https://docs.api.hook.co/_mock/v1/openapi/organizations/my-organization-id/automations/{automationId}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Default Response

Bodyapplication/json
idinteger, [ -9007199254740991 .. 9007199254740991 ]required
Example:1234
namestringrequired
Example:"High value customer with an active signal"
deactivatedDatestring or null, (date-time)required
triggersArray of objects(AutomationTrigger)required
actionsArray of objects(AutomationAction)required
childrenArray of objects(Automation)required
Response
{ "id": 1234, "name": "High value customer with an active signal", "deactivatedDate": "2019-08-24T14:15:22Z", "triggers": [ { … } ], "actions": [ { … } ], "children": [ { … } ] }