v2

latestOpenAPI 3.1.02026-08-075421692.0 MB
Phone Numbers

Upload a KYC document

Upload ONE document and get back its provider document id, to reference from POST /v1/phone-numbers/kyc via documents[].documentId. Send the RAW file bytes as the request body (not base64); put the filename in the X-Filename header. Uploading documents one-per-request keeps each request under the ~4.5MB body limit. The document streams straight to the number provider and is not stored by Zernio.

post/v1/phone-numbers/kyc/upload-document

Headers

X-Filenamestring required

URL-encoded original filename.

Response

Document uploaded.

documentIdstring

Reference this id in the KYC submit's documents[].documentId.