v1

latestOpenAPI 3.0.02026-07-264731126.7 KB
Promo Codes

Get promo codes

With this endpoint you can list all promo codes. <Tip>HTTP Request <br/>GET https://api.firstpromoter.com/api/v2/company/promo_codes</Tip>

get/promo_codes

Query parameters

promoter_campaign_idinteger

Filters promo codes by promoter campaign id

Headers

Account-IDstring required

Account id. You can find your Account ID on Your FirstPromoter Dashboard. Navigate to Settings → Integrations

Response

List of promo codes

idinteger

ID of the promo code entry

codestring

Code of the promo code

ext_idstring
descriptionstring

Description of the promo code

company_idinteger
promoter_campaign_idinteger

ID of the promoter campaign

metadataobject

Metadata of the promo code

detailsobject

Details of the promo code

archived_atstring date-time