Skip to main content
GET
/
affiliates
/
couponcodes
List Coupon Codes
curl --request GET \
  --url https://api.eflow.team/v1/affiliates/couponcodes \
  --header 'X-Eflow-Api-Key: <api-key>'
{
  "coupon_codes": [
    {
      "network_id": 123,
      "network_coupon_code_id": 123,
      "network_offer_id": 123,
      "coupon_code": "<string>",
      "coupon_status": "<string>",
      "tracking_link": "<string>",
      "start_date": "2023-11-07T05:31:56Z",
      "end_date": "2023-11-07T05:31:56Z",
      "description": "<string>",
      "is_description_plain_text": true,
      "time_created": 1734455015,
      "time_saved": 1734455015,
      "relationship": {
        "offer": {
          "network_offer_id": 123,
          "network_id": 123,
          "name": "<string>",
          "offer_status": "<string>"
        }
      }
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://developers.everflow.io/llms.txt

Use this file to discover all available pages before exploring further.

Returns all active coupon codes assigned to the authenticated affiliate for offers they can run. Each coupon code includes its tracking link, validity dates, and the associated offer details.

Authorizations

X-Eflow-Api-Key
string
header
required

The affiliate's API key generated from the Affiliate Portal. Uses the X-Eflow-Api-Key header.

Response

200 - application/json
coupon_codes
object[]

Array of coupon codes assigned to the affiliate.