GET
/
referrals
/
export
curl --request GET \
  --url https://v2.firstpromoter.com/api/v2/affiliate/referrals/export \
  --header 'ACCOUNT-ID: <api-key>' \
  --header 'Account-ID: <account-id>' \
  --header 'Authorization: Bearer <token>'
"<string>"

Authorizations

Authorization
string
header
required

Access token passed as a Bearer token in the Authorization header

ACCOUNT-ID
string
header
required

Account ID required with bearer token

Headers

Account-ID
string
required

Account identifier that specifies which account is making the request

Example:

"acc_123456"

Query Parameters

filters[type]
enum<string>

Type (lead or customer)

Available options:
lead,
customer
filters[state]
enum<string>

State

Available options:
subscribed,
signup,
active,
cancelled,
refunded,
denied,
pending,
moved

Response

200
text/csv

Successful response

The response is of type string.