GET
/
v1
/
campaign
/
list
curl --request GET \
  --url https://api.sendo.dev/v1/campaign/list \
  --header 'Authorization: Bearer <token>'
{
  "campaigns": [
    {
      "id": "h4cQ2gls",
      "brandId": "A8wm4k2s",
      "displayName": "Internal Testing",
      "createdAt": "2023-12-12T12:33:33.630Z",
      "updatedAt": "2023-12-12T12:33:33.630Z",
      "status": "ACTIVE",
      ...
    },
    {
      "id": "A8wm4k2s",
      "brandId": "oR439zks",
      "displayName": "User Notifications",
      "createdAt": "2023-12-07T12:33:33.630Z",
      "updatedAt": "2023-12-08T12:33:33.630Z",
      "status": "PENDING",
      ...
    }
    And so on...
  ]
}

This endpoint lists your submitted campaigns. Campaigns in DRAFT status will not be returned. Click here for more information about campaigns.

URL Params

limit
number

The number of campaigns to return (default 10).

skip
number

The number of campaigns to skip (i.e. offset).

Response

campaigns
[campaign]

An array of campaign objects returned.

error
string

Error message if the request fails.

{
  "campaigns": [
    {
      "id": "h4cQ2gls",
      "brandId": "A8wm4k2s",
      "displayName": "Internal Testing",
      "createdAt": "2023-12-12T12:33:33.630Z",
      "updatedAt": "2023-12-12T12:33:33.630Z",
      "status": "ACTIVE",
      ...
    },
    {
      "id": "A8wm4k2s",
      "brandId": "oR439zks",
      "displayName": "User Notifications",
      "createdAt": "2023-12-07T12:33:33.630Z",
      "updatedAt": "2023-12-08T12:33:33.630Z",
      "status": "PENDING",
      ...
    }
    And so on...
  ]
}