Bulk update phone number profiles
POST
JavaScript
Documentation Index
Fetch the complete documentation index at: https://developers.telnyx.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Configure the messaging profile these phone numbers are assigned to:
- Set this field to
""to unassign each number from their respective messaging profile - Set this field to a quoted UUID of a messaging profile to assign these numbers to that messaging profile
The list of phone numbers to update.
If true, only assign numbers to the profile without changing other settings.
Response
Successful response with details about messaging bulk update phone numbers.
Example:
{
"record_type": "messaging_numbers_bulk_update",
"order_id": "00000000-0000-0000-0000-000000000000",
"success": [
"+18880000000",
"+18880000001",
"+18880000002"
],
"pending": [],
"failed": []
}
JavaScript