{ "opencollection": "1.0.0", "info": { "name": "Telnyx Access Tokens Hosted Numbers API", "version": "2.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Hosted Numbers", "type": "folder" }, "items": [ { "info": { "name": "List messaging hosted number orders", "type": "http" }, "http": { "method": "GET", "url": "https://api.telnyx.com/v2/messaging_hosted_number_orders", "params": [ { "name": "page", "value": "", "type": "query", "description": "Consolidated page parameter (deepObject style). Originally: page[number], page[size]" } ] }, "docs": "List messaging hosted number orders" }, { "info": { "name": "Create a messaging hosted number order", "type": "http" }, "http": { "method": "POST", "url": "https://api.telnyx.com/v2/messaging_hosted_number_orders", "body": { "type": "json", "data": "{}" } }, "docs": "Create a messaging hosted number order" }, { "info": { "name": "Check hosted messaging eligibility", "type": "http" }, "http": { "method": "POST", "url": "https://api.telnyx.com/v2/messaging_hosted_number_orders/eligibility_numbers_check", "body": { "type": "json", "data": "{}" } }, "docs": "Check hosted messaging eligibility" }, { "info": { "name": "Retrieve a messaging hosted number order", "type": "http" }, "http": { "method": "GET", "url": "https://api.telnyx.com/v2/messaging_hosted_number_orders/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Identifies the type of resource." } ] }, "docs": "Retrieve a messaging hosted number order" }, { "info": { "name": "Delete a messaging hosted number order", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.telnyx.com/v2/messaging_hosted_number_orders/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Identifies the messaging hosted number order to delete." } ] }, "docs": "Delete a messaging hosted number order and all associated phone numbers." }, { "info": { "name": "Upload hosted number document", "type": "http" }, "http": { "method": "POST", "url": "https://api.telnyx.com/v2/messaging_hosted_number_orders/:id/actions/file_upload", "params": [ { "name": "id", "value": "", "type": "path", "description": "Identifies the type of resource." } ], "body": { "type": "multipart-form", "data": [] } }, "docs": "Upload hosted number document" }, { "info": { "name": "Validate hosted number codes", "type": "http" }, "http": { "method": "POST", "url": "https://api.telnyx.com/v2/messaging_hosted_number_orders/:id/validation_codes", "params": [ { "name": "id", "value": "", "type": "path", "description": "Order ID related to the validation codes." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Validate the verification codes sent to the numbers of the hosted order. The verification codes must be created in the verification codes endpoint." }, { "info": { "name": "Create hosted number verification codes", "type": "http" }, "http": { "method": "POST", "url": "https://api.telnyx.com/v2/messaging_hosted_number_orders/:id/verification_codes", "params": [ { "name": "id", "value": "", "type": "path", "description": "Order ID to have a verification code created." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create verification codes to validate numbers of the hosted order. The verification codes will be sent to the numbers of the hosted order." }, { "info": { "name": "Delete a messaging hosted number", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.telnyx.com/v2/messaging_hosted_numbers/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Identifies the type of resource." } ] }, "docs": "Delete a messaging hosted number" } ] } ], "bundled": true }