Skip to main content
GET
Get contract documents by id (html/pdf)

Authorizations

Authorization
string
header
required

Your affiliate API key (Profile → API & AI tools in the affiliate dashboard), sent as Authorization: Bearer {api_key}

Headers

Account-ID
string
required

Account ID of the affiliate program, shown next to your API key under Profile → API & AI tools

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

Document content

data
object