Messaging

List campaigns

Newest first, with delivery stats. Drafts are composed in the dashboard.

Scope: read

get/v1/campaigns

Request

  • Base URL: https://api.affiliaterail.com
  • URL: https://api.affiliaterail.com/v1/campaigns
  • Auth: HTTP bearer

Query parameters

program_idstring required

Response

Campaigns

has_moreboolean required
total_countinteger required

Example response

{
  "data": [
    {
      "id": "camp_7uSyy9FqVLCFWrdPeZaK",
      "program_id": "prg_7uSyy9FqVLCFWrdPeZaK",
      "scheduled_at": "2026-08-21T10:15:30.000Z",
      "sent_at": "2026-08-21T10:15:30.000Z",
      "created_at": "2026-08-21T10:15:30.000Z",
      "updated_at": "2026-08-21T10:15:30.000Z"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.