General Documentation
Agents
Agent Executions
Test Suites
Projects
WhatsApp Conversations
Customers
WhatsApp Configs
Agent Test Chats
Conversation Assignments
WhatsApp Templates
WhatsApp Contact Notes
Agent Snapshots
WhatsApp Configs
List WhatsApp configs for a customer
Returns a list of WhatsApp configurations for a specific customer
GET
/
customers
/
{customer_id}
/
whatsapp_configs
Copy
curl --request GET \
--url https://app.kapso.ai/api/v1/customers/{customer_id}/whatsapp_configs \
--header 'X-API-Key: <api-key>'
Copy
{
"data": [
{
"id": "config-123abc",
"name": "Client WhatsApp",
"display_name": "Client WhatsApp (+1234567890)",
"phone_number_id": "1234567890",
"business_account_id": "98765432109",
"webhook_verify_token": "<string>",
"webhook_destination_url": "<string>",
"customer_id": "customer-456def",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"meta": {
"page": 123,
"per_page": 123,
"total_pages": 123,
"total_count": 123
}
}
Authorizations
API key required for all endpoints
Path Parameters
Response
200
application/json
A list of WhatsApp configurations
The response is of type object
.
Copy
curl --request GET \
--url https://app.kapso.ai/api/v1/customers/{customer_id}/whatsapp_configs \
--header 'X-API-Key: <api-key>'
Copy
{
"data": [
{
"id": "config-123abc",
"name": "Client WhatsApp",
"display_name": "Client WhatsApp (+1234567890)",
"phone_number_id": "1234567890",
"business_account_id": "98765432109",
"webhook_verify_token": "<string>",
"webhook_destination_url": "<string>",
"customer_id": "customer-456def",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"meta": {
"page": 123,
"per_page": 123,
"total_pages": 123,
"total_count": 123
}
}
Assistant
Responses are generated using AI and may contain mistakes.