POST
/
v1
/
automations
cURL
curl --request POST \
  --url https://api.comm.com/api/v1/automations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "type": "marketing"
}'
{
  "id": "<string>",
  "name": "<string>",
  "type": "<string>",
  "meta": [
    "<any>"
  ],
  "team_id": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "deleted_at": "2023-11-07T05:31:56Z",
  "is_active": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required
type
enum<string>
required
Available options:
marketing,
hub

Response

Automation

id
string
required
name
string
required
type
string
required
meta
any[] | null
required
team_id
string
required
created_at
string<date-time> | null
required
updated_at
string<date-time> | null
required
deleted_at
string<date-time> | null
required
is_active
string
required