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>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
marketing
hub
Automation