set_phone_number_allow_list
Restrict incoming SMS to a phone number by setting an allow list of approved senders. Pass an empty list to clear all restrictions.
Instructions
Set the allow list for a phone number (only these numbers can send SMS to it).
Replaces the existing allow list. Pass an empty list to clear it.
Args: phone_number_id: The phone number ID (from list_phone_numbers) numbers: List of E.164 phone numbers to allow, e.g. ["+15551234567"]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| numbers | Yes | ||
| phone_number_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |