Upload number order document
POST/number_order_documents/:document_type
Uploads a document requirement for an ordered number.
Request
Path Parameters
document_type stringrequired
Document type (identification, reg_form, address_proof)
- multipart/form-data
Body
file binary
File to upload
Responses
200: Number Order Document Upload Response
- application/json
401: Unauthorized
500: Internal server error
Request samples
curl -L -X POST 'https://api.telnyx.com/number_order_documents/:document_type' \
-H 'Content-Type: multipart/form-data' \
-H 'Accept: application/json'
Response samples
{
"id": "string",
"filename": "string",
"content_type": "string",
"document_type": "string",
"s3_link": "string",
"errors": [
"string"
]
}