Authorizations
API key required for all endpoints
Path Parameters
Contact ID (UUID) or phone number
Example:
"contact-789ghi or 1234567890"
Response
Successful response
curl --request GET \
--url https://app.kapso.ai/api/v1/whatsapp_contacts/{identifier} \
--header 'X-API-Key: <api-key>'
{
"data": {
"id": "contact-789ghi",
"wa_id": "1234567890",
"profile_name": "John Doe",
"customer_id": "customer-456def",
"metadata": {
"source": "website",
"tags": [
"lead",
"priority"
]
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}
Retrieve a specific WhatsApp contact by ID or phone number
curl --request GET \
--url https://app.kapso.ai/api/v1/whatsapp_contacts/{identifier} \
--header 'X-API-Key: <api-key>'
{
"data": {
"id": "contact-789ghi",
"wa_id": "1234567890",
"profile_name": "John Doe",
"customer_id": "customer-456def",
"metadata": {
"source": "website",
"tags": [
"lead",
"priority"
]
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}
API key required for all endpoints
Contact ID (UUID) or phone number
"contact-789ghi or 1234567890"
Successful response
Show child attributes
Was this page helpful?