Assign a phone number to an assistant by phone number string.
Auto-syncs from Twilio if the number doesn’t exist locally and auto_sync is True. This is the recommended way to assign newly purchased Twilio numbers.
Args: assistant_id: ID of the assistant to assign the phone number to request: JSON request containing phone_number, friendly_name (optional), and auto_sync
assistant_id (string, required): The unique identifier of the assistant to whom the phone number will be assigned.phone_number (string, required): The phone number to assign, specified in E.164 format (e.g., +15551234567).assistant_id.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Schema for assigning a phone number to an assistant.