Create a messaging hosted number order
Creates an order to enable Telnyx messaging on phone numbers whose voice service remains with another carrier.
Request body
Example request
{
"messaging_profile_id": "dc8f39ac-953d-4520-b93b-786ae87db0da",
"phone_numbers": [
"+18665550001",
"+18665550002"
]
}Response
Successful response with details about a messaging hosted number order.
Example response
{
"data": {
"id": "86f58db9-0fe3-4adc-9d1f-46e66e6e9323",
"messaging_profile_id": "dc8f39ac-953d-4520-b93b-786ae87db0da",
"phone_numbers": [
{
"id": "bf6307bd-884d-4c1f-b6ea-c62b8c495d3c",
"phone_number": "+18665550001",
"record_type": "messaging_hosted_number",
"status": "pending"
},
{
"id": "464bd54e-a328-4b11-a131-28e6793cb6f2",
"phone_number": "+18665550002",
"record_type": "messaging_hosted_number",
"status": "pending"
}
],
"record_type": "messaging_hosted_number_order",
"status": "pending"
}
}Changes
Changed in 2 of the 61 revisions of this API.7
- ▲
the response's body type/format changed from
object/to/for status4XXresponse-body-type-changed
- ▲
the
errors/items/response's property type/format changed fromobject/to/for status4XXresponse-property-type-changed
- ▲
the
errors/items/coderesponse's property type/format changed frominteger/int32tostring/for status4XXresponse-property-type-changed
This revision also has 64 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
the response's body type/format changed from
/toobject/for status4XXresponse-body-type-changed
- ▲
the
errors/items/response's property type/format changed from/toobject/for status4XXresponse-property-type-changed
- ▲
the
errors/items/coderesponse's property type/format changed fromstring/tointeger/int32for status4XXresponse-property-type-changed
- ▲
the
errors/items/source/pointerresponse's property type/format changed fromstring/json-pointertostring/for status4XXresponse-property-type-changed
This revision also has 41 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲