OnAutomate API V1.1.1
Welcome to onautomate Api docs.
Campaign
GET /v1/campaigns/
https://link.amtssl.com/v1/campaigns/
AUTHORIZATION
Bearer Token
Token
<token>
Example Request
curl --location --request GET 'https://link.amtssl.com/v1/campaigns/' \
--header 'Authorization: Bearer <token>'
Example Response
Unauthorized
Successful response
Bad Request. please contact support!
401 Unauthorized
Body
{
"msg": "Unauthorized"
}
200 OK
Body
{
"campaigns": [
{
"id": "Y2I9XM7aO1hncuSOlc9L",
"name": "Test Campaign",
"status": "draft"
},
{
"id": "Y2I9XM7aO1hncuSOlc9L",
"name": "Test Campaign",
"status": "draft"
}
]
}
400 Bad Request
Body
{
"msg": "Bad Request"
}
Headers
Content-Type: application/json
Headers
Content-Type: application/json
Headers
Content-Type: application/json