List contacts
List contacts attached to the WhatsApp account identified by phone_number_id. Filter by exact phone (E.164) or partial search (matches name and email).
Request
- Base URL: https://api.kirimdev.com/v1
- URL: https://api.kirimdev.com/v1/{phone_number_id}/contacts
- Auth: HTTP bearer
Path parameters
Meta WhatsApp Business phone_number_id of the connected account that should send / own this resource. Discoverable via GET /v1/accounts (returned as phone_number_id on each row).
Query parameters
Exact phone-number match. Common E.164 formatting is accepted and normalized.
Exact Meta Business-Scoped User ID match.
Exact WhatsApp username match, compared case-insensitively.
Case-insensitive substring search across contact name and email.
Number of items to return. Defaults to 25; minimum 1 and maximum 100.
Opaque continuation token from the previous response's next_cursor. Pass it unchanged and keep all other filters the same.
Response
Contact list
Example response
{
"data": [
{
"id": "ctc_01HXYZABCDEFGHJKMNPQRSTVWX",
"phone_number": "+628123456789",
"bsuid": "US.13491208655302741918",
"parent_bsuid": "US.ENT.11815799212886844830",
"username": "pablomorales",
"labels": [
{
"id": "lbl_01HXYZABCDEFGHJKMNPQRSTVWX",
"name": "VIP"
}
],
"whatsapp_account": {
"phone_number_id": "106540352242922",
"customer": {
"id": "cus_01HXYZABCDEFGHJKMNPQRSTVWX"
}
}
}
],
"request_id": "req_01HXYZABCDEFGHJKMNPQRSTVWX"
}Changes
No recorded changes to this operation across all 1 revision of this API.