GET
/
contract_documents
/
{id}
curl --request GET \
  --url https://v2.firstpromoter.com/api/v2/affiliate/contract_documents/{id} \
  --header 'Account-ID: <account-id>' \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "content": "<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"

Path Parameters

id
integer
required

Contract document ID

Query Parameters

content_type
enum<string>
required

Format of the document content

Available options:
html,
pdf

Response

200
application/json

Document content

The response is of type object.