curl --request GET \
--url https://app.kapso.ai/api/v1/whatsapp_contacts \
--header 'X-API-Key: <api-key>'
{
"data": [
{
"id": "contact-789ghi",
"wa_id": "1234567890",
"profile_name": "John Doe",
"metadata": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"meta": {
"page": 1,
"per_page": 20,
"total_pages": 5,
"total_count": 100
}
}
Retrieve a paginated list of WhatsApp contacts for the project
curl --request GET \
--url https://app.kapso.ai/api/v1/whatsapp_contacts \
--header 'X-API-Key: <api-key>'
{
"data": [
{
"id": "contact-789ghi",
"wa_id": "1234567890",
"profile_name": "John Doe",
"metadata": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"meta": {
"page": 1,
"per_page": 20,
"total_pages": 5,
"total_count": 100
}
}
API key required for all endpoints
Successful response
The response is of type object
.
Was this page helpful?