update_phone_number_messaging_settings
Modify messaging settings for a Telnyx phone number by updating its messaging profile or product configuration.
Instructions
Update the messaging profile and/or messaging product of a phone number.
Args:
id: Required. The phone number ID to update.
messaging_profile_id: Optional. Configure the messaging profile this phone number is assigned to. Set to null to keep the current value, set to empty string to unassign, or set to a UUID to assign to that messaging profile.
messaging_product: Optional. Configure the messaging product for this number. Set to null to keep the current value, or set to a product ID to change.
Returns:
Dict[str, Any]: Response data
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>",
"request": "<request>"
},
"name": "update_phone_number_messaging_settings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| request | Yes |