Programs

List programs

Every program in your organization. The one list that does not take program_id.

Scope: read

get/v1/programs

Request

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

Query parameters

limitstring
starting_afterstring
ending_beforestring
string
OR
string[]

Response

Programs

has_moreboolean required

Pass the last object's id as starting_after to fetch the next page

total_countinteger required

Count of every object matching the filters, ignoring the cursor

Example response

{
  "data": [
    {
      "id": "prg_7uSyy9FqVLCFWrdPeZaK",
      "currency": "USD",
      "min_payout_minor": 2500,
      "stats": {
        "sales_minor": 2500,
        "commissions_minor": 2500
      },
      "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.