Automations

Create Automation

Changed on

Create Automation

post/accounts/{account_id}/automations

Request

  • Base URL
    https://api.brale.xyz
  • Auth
    OAuth 2
    Client credentials
    Token URL: https://auth.brale.xyz/oauth2/token scopes: automations:write

Path parameters

account_idstring required

ID of the resource

Example:2VZvtmVc2j3gQ80CTlcuQXbGrwC

Account ID

Request body

namestring required

Response

OK

created_atstring date-time

ISO-8601 timestamp that includes date and time

idstring

ID of the resource

namestring required
status'pending' | 'active' | 'disabled' | 'archived' required
updated_atstring date-time

ISO-8601 timestamp that includes date and time

Example response

{
  "created_at": "2020-01-01T12:00:00Z",
  "id": "2VZvtmVc2j3gQ80CTlcuQXbGrwC",
  "updated_at": "2020-01-01T12:00:00Z"
}

Changes

    • info

      added the non-success response with the status

    • breaking

      media type application/vnd.api+json was changed to a more general media type application/json for the response status

    • breaking

      media type application/vnd.api+json was changed to a more general media type application/json for the response status

    • breaking

      media type application/vnd.api+json was changed to a more general media type application/json for the response status

    • breaking

      media type application/vnd.api+json was changed to a more general media type application/json for the response status