{ "opencollection": "1.0.0", "info": { "name": "Telnyx Access Tokens Messaging API", "version": "2.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Messaging", "type": "folder" }, "items": [ { "info": { "name": "List alphanumeric sender IDs", "type": "http" }, "http": { "method": "GET", "url": "https://api.telnyx.com/v2/alphanumeric_sender_ids", "params": [ { "name": "filter[messaging_profile_id]", "value": "", "type": "query", "description": "Filter by messaging profile ID." }, { "name": "page[number]", "value": "", "type": "query", "description": "Page number." }, { "name": "page[size]", "value": "", "type": "query", "description": "Page size." } ] }, "docs": "List all alphanumeric sender IDs for the authenticated user." }, { "info": { "name": "Create an alphanumeric sender ID", "type": "http" }, "http": { "method": "POST", "url": "https://api.telnyx.com/v2/alphanumeric_sender_ids", "body": { "type": "json", "data": "{}" } }, "docs": "Create a new alphanumeric sender ID associated with a messaging profile." }, { "info": { "name": "Retrieve an alphanumeric sender ID", "type": "http" }, "http": { "method": "GET", "url": "https://api.telnyx.com/v2/alphanumeric_sender_ids/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The identifier of the alphanumeric sender ID." } ] }, "docs": "Retrieve a specific alphanumeric sender ID." }, { "info": { "name": "Delete an alphanumeric sender ID", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.telnyx.com/v2/alphanumeric_sender_ids/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The identifier of the alphanumeric sender ID." } ] }, "docs": "Delete an alphanumeric sender ID and disassociate it from its messaging profile." }, { "info": { "name": "List messaging hosted numbers", "type": "http" }, "http": { "method": "GET", "url": "https://api.telnyx.com/v2/messaging_hosted_numbers", "params": [ { "name": "filter[messaging_profile_id]", "value": "", "type": "query", "description": "Filter by messaging profile ID." }, { "name": "filter[phone_number]", "value": "", "type": "query", "description": "Filter by exact phone number." }, { "name": "filter[phone_number][contains]", "value": "", "type": "query", "description": "Filter by phone number substring." }, { "name": "sort[phone_number]", "value": "", "type": "query", "description": "Sort by phone number." }, { "name": "page[number]", "value": "", "type": "query" }, { "name": "page[size]", "value": "", "type": "query" } ] }, "docs": "List all hosted numbers associated with the authenticated user." }, { "info": { "name": "Retrieve a messaging hosted number", "type": "http" }, "http": { "method": "GET", "url": "https://api.telnyx.com/v2/messaging_hosted_numbers/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The ID or phone number of the hosted number." } ] }, "docs": "Retrieve a specific messaging hosted number by its ID or phone number." }, { "info": { "name": "Update a messaging hosted number", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.telnyx.com/v2/messaging_hosted_numbers/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The ID or phone number of the hosted number." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update the messaging settings for a hosted number." }, { "info": { "name": "List high-level messaging profile metrics", "type": "http" }, "http": { "method": "GET", "url": "https://api.telnyx.com/v2/messaging_profile_metrics", "params": [ { "name": "time_frame", "value": "", "type": "query", "description": "The time frame for metrics." } ] }, "docs": "List high-level metrics for all messaging profiles belonging to the authenticated user." }, { "info": { "name": "Regenerate messaging profile secret", "type": "http" }, "http": { "method": "POST", "url": "https://api.telnyx.com/v2/messaging_profiles/:id/actions/regenerate_secret", "params": [ { "name": "id", "value": "", "type": "path", "description": "The identifier of the messaging profile." } ] }, "docs": "Regenerate the v1 secret for a messaging profile." }, { "info": { "name": "List alphanumeric sender IDs for a messaging profile", "type": "http" }, "http": { "method": "GET", "url": "https://api.telnyx.com/v2/messaging_profiles/:id/alphanumeric_sender_ids", "params": [ { "name": "id", "value": "", "type": "path", "description": "The identifier of the messaging profile." }, { "name": "page[number]", "value": "", "type": "query" }, { "name": "page[size]", "value": "", "type": "query" } ] }, "docs": "List all alphanumeric sender IDs associated with a specific messaging profile." }, { "info": { "name": "Get detailed messaging profile metrics", "type": "http" }, "http": { "method": "GET", "url": "https://api.telnyx.com/v2/messaging_profiles/:id/metrics", "params": [ { "name": "id", "value": "", "type": "path", "description": "The identifier of the messaging profile." }, { "name": "time_frame", "value": "", "type": "query", "description": "The time frame for metrics." } ] }, "docs": "Get detailed metrics for a specific messaging profile, broken down by time interval." } ] } ], "bundled": true }