Skip to main content

Create a number order document

POST 
/number_order_documents

Upload a phone number order document.

Request

Body

required

    file_id string

    The id of the file to associate as a number order document.

    requirements_id string

    Unique id for a requirement.

    customer_reference string

    A customer reference string for customer look ups.

Responses

200: Successful response with details about a number order document.

default: Unexpected error

Request samples


curl -L 'https://api.telnyx.com/v2/number_order_documents' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
-d '{
"id": "387d1e31-a218-4375-8151-103f2d5e2d2c",
"record_type": "number_order_document",
"file_id": "1e3c5822-0362-4702-8e46-5a129f0d3976",
"requirements_id": "36aaf27d-986b-493c-bd1b-de16af2e4292",
"customer_reference": "MY REF 001",
"requirement_type": "address_proof",
"created_at": "2018-01-01T00:00:00.000000Z"
}'

Response samples


{
"data": {
"id": "387d1e31-a218-4375-8151-103f2d5e2d2c",
"record_type": "number_order_document",
"file_id": "1e3c5822-0362-4702-8e46-5a129f0d3976",
"requirements_id": "36aaf27d-986b-493c-bd1b-de16af2e4292",
"customer_reference": "MY REF 001",
"requirement_type": "address_proof",
"created_at": "2018-01-01T00:00:00.000000Z"
}
}