cURL
curl --request GET \ --url https://api.kapso.ai/platform/v1/voice_agents/{voice_agent_id}/whatsapp/phone_numbers \ --header 'X-API-Key: <api-key>'
{ "data": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "voice_agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "phone_number_id": "123456789012345", "is_primary": true, "enabled": true, "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" } ] }
Retrieve all WhatsApp phone numbers assigned to this voice agent. Assignments define which phone numbers route voice calls to this agent.
Use this endpoint to:
Voice agent identifier
Assignments retrieved successfully
List of WhatsApp phone number assignments for a voice agent
Show child attributes
Was this page helpful?