POST
/
contract_documents
/
draft
curl --request POST \
  --url https://v2.firstpromoter.com/api/v2/affiliate/contract_documents/draft \
  --header 'Account-ID: <account-id>' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "contract_id": 123,
  "details": {
    "email": "<string>",
    "profile": {
      "first_name": "<string>"
    }
  }
}'
{
  "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"

Body

application/json

Response

200
application/json

Draft content

The response is of type object.