cURL
curl --request GET \ --url https://api.firstpromoter.com/api/v2/affiliate/contract_documents/{id} \ --header 'Account-ID: <account-id>' \ --header 'Authorization: Bearer <token>'
{ "data": { "content": "<string>" } }
Access token passed as a Bearer token in the Authorization header
Account identifier that specifies which account is making the request
"acc_123456"
Contract document ID
Format of the document content
html
pdf
Document content
Show child attributes