Skip to content

Search API reference

Find an endpoint or a guide of the Sovgate API reference and jump straight to it.

List promotion codes

List your promotion codes, newest first.

GET/v1/promotion_codes

List your promotion codes, newest first.

Endpoint

http
GET /v1/promotion_codes

Query parameters

NameTypeRequiredDescription
couponstringOptionalOnly this coupon's codes.
limitintegerOptionalHow many to return, from 1 to 100. Default 10.
starting_afterstringOptionalAn ID from the last page: the list continues after it.
ending_beforestringOptionalAn ID from the first page: the list returns the page before it.

Example request

bash
curl "https://api.sovgate.com/v1/promotion_codes?limit=3" \  -H "Authorization: Bearer sov_sk_test_your_key"

Example response

json
{  "object": "list",  "url": "/v1/promotion_codes",  "has_more": false,  "data": [    {      "id": "promo_22c793f0f6e03e802cd4a00f",      "object": "promotion_code",      "livemode": false,      "coupon": "cpn_20b5e71de063737f5f3e2920",      "code": "LAUNCH20",      "active": true,      "first_time_only": false,      "one_per_customer": true,      "minimum_amount": null,      "customer": null,      "expires_at": null,      "max_redemptions": null,      "times_redeemed": 4,      "created": "2026-11-20T09:30:00Z"    }  ]}