DocumentUploadResponse
objectidstring(uuid)required
file_namestringrequired
file_typestringrequired
Allowed values:application/pdfimage/pngimage/tiffimage/jpeg
confirmedbooleanrequired
lockedbooleanrequired
Example
DocumentErrorCode
stringAllowed values:not_foundlockeddeletion_failedobject_missing
DocumentErrorResponse
objecterror_codestringrequired
Machine-readable error code
Allowed values:not_foundlockeddeletion_failedobject_missing
detailstringrequired
Human-readable error message
Example
CompanyTokenResponse
objecttokenstringrequired
A token that can be used to authenticate requests to company scoped endpoints. Pass this to the front end
expires_inintegerrequired
The number of seconds until the token expires
Example
CompanyTokenRequest
objectcompany_idstringrequired
An identifier in the partner’s system that uniquely identifies the company to create a token for
user_idstringrequired
An identifier in the partner’s system that uniquely identifies the specific user for the company
Example