Contacts
Create contact
Create a new WhatsApp contact.
post/whatsapp/contacts
Request
- Base URLhttps://api.kapso.ai/platform/v1
- AuthAPI key in header X-API-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"contact": {
"wa_id": "+15551234567"
}
}Response
Contact created
Example response
{
"data": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"wa_id": "15551234567",
"business_scoped_user_id": "US.13491208655302741918",
"parent_business_scoped_user_id": "US.ENT.506847293015824",
"username": "@testusername",
"profile_name": "John Doe",
"display_name": "John (VIP)"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.