curl --request GET \
--url https://app.kapso.ai/api/v1/whatsapp_configs/{whatsapp_config_id}/whatsapp_webhooks/{id} \
--header 'X-API-Key: <api-key>'
{
"data": {
"id": "webhook-123abc",
"url": "https://example.com/webhook",
"secret_key": "your-secret-key",
"events": [
"messages",
"status_updates",
"templates"
],
"active": true,
"headers": {
"X-Custom-Header": "custom-value"
},
"retry_config": {
"max_attempts": 3,
"backoff_seconds": 60
},
"buffer_enabled": false,
"buffer_window_seconds": 5,
"max_buffer_size": 50,
"buffer_events": [
"whatsapp.message.received"
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}
Returns details for a specific WhatsApp webhook
curl --request GET \
--url https://app.kapso.ai/api/v1/whatsapp_configs/{whatsapp_config_id}/whatsapp_webhooks/{id} \
--header 'X-API-Key: <api-key>'
{
"data": {
"id": "webhook-123abc",
"url": "https://example.com/webhook",
"secret_key": "your-secret-key",
"events": [
"messages",
"status_updates",
"templates"
],
"active": true,
"headers": {
"X-Custom-Header": "custom-value"
},
"retry_config": {
"max_attempts": 3,
"backoff_seconds": 60
},
"buffer_enabled": false,
"buffer_window_seconds": 5,
"max_buffer_size": 50,
"buffer_events": [
"whatsapp.message.received"
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}
API key required for all endpoints
WhatsApp webhook details
The response is of type object
.
Was this page helpful?