Skip to main content
POST
Uploads a document on a referral

Authorizations

Authorization
string
header
required

Authorization: Bearer <api_token>. Reuse the same token on later requests until it expires or is revoked. Do not request a new token for each call. The token does not expire after 24 hours. Sandbox tokens come from Get API keys and allow 2,000 successful requests or 7 days, or 90 days with an access code. Failed 4xx/5xx responses do not consume the allowance. Production tokens are issued from the group's API access tab and last until the expiry set there, or until revoked when no expiry is set.

Path Parameters

referral_id
string<uuid>
required

Referral ID

Body

application/json
document
object
required

Response

Document stored

type
enum<string>
required
Available options:
invoice,
pfr,
drivers_license,
aob,
hcfa
filename
string
required
content_type
string
required
created_at
string<date-time>
required