Update an existing phone number assignment using the assignment_id (not phone_number_id).
The assignment_id is the ‘id’ field returned when creating or listing assignments. To find the assignment_id for a specific phone number, use GET /voice_agents//whatsapp/phone_numbers.
Common updates:
Note: Setting is_primary=true on this assignment will automatically set is_primary=false on any other primary assignment for this voice agent.
Voice agent identifier
Assignment identifier (primary key of VoiceAgentWhatsappConfig). This is the assignment ID returned in the response when you create or list assignments, NOT the Meta phone_number_id. Use the 'id' field from assignment responses for PATCH/DELETE operations.
Request to create or update a WhatsApp phone number assignment for a voice agent
Assignment updated successfully
Single WhatsApp phone number assignment response
WhatsApp phone number assignment to a voice agent. Defines which WhatsApp numbers route voice calls to which voice agents. Uses flat structure with no nested objects.