Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Staff session or API token issued by your Voyant app.

Path Parameters

id
string
required

Body

application/json
kind
string
required
Example:

"passport"

issuingCountry
string | null
expiresOn
string<date> | null
isPrimary
boolean

Response

Created document

id
string
required
Example:

"pdoc_01h..."

personId
string
required
kind
string
required
Example:

"passport"

issuingCountry
string | null
isPrimary
boolean
numberLast4
string | null
expiresOn
string<date> | null