Create document
POST
Create a regulatory document record after uploading the file. Use the upload-url endpoint first to get an upload URL.
Authorization
AuthorizationheaderrequiredBearer YOUR_API_KEY. Create a key in the dashboard.
Body
application/json
namestringrequiredLimitsmax length 200documentTypestringrequiredOne ofpassportnational_iddrivers_licenseutility_billtax_idbusiness_registrationproof_of_addressotherstorageIdstringrequiredStorage ID from the upload-url endpoint.
mimeTypestringrequiredfileSizeintegerrequired
Responses
201Document created and submitted for review.
documentobjectrequiredA regulatory document for phone number requirements.
9 properties
idstringrequirednamestringrequireddocumentTypestringrequiredOne ofpassportnational_iddrivers_licenseutility_billtax_idbusiness_registrationproof_of_addressothermimeTypestringfileSizeintegerstatusstringrequiredOne ofpendinguploadedverifiedrejectedrejectionReasonstringcreatedAtstring<date-time>requiredupdatedAtstring<date-time>
400Invalid request or upload failed.
codestringrequiredmessagestringrequireddetailsobject
401Unauthorized.
codestringrequiredmessagestringrequireddetailsobject