GET
/
invoices
/
export
curl --request GET \
  --url https://v2.firstpromoter.com/api/v2/company/invoices/export \
  --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

Headers

Account-ID
string
required

Account identifier that specifies which account is making the request

Example:

"acc_123456"

Query Parameters

filters[promoter_id]
integer

Filter by promoter ID

Response

200
text/csv

CSV file containing invoice data

The response is of type string.