Contacts
Fetch a contact by id
Fetch one contact belonging to this WhatsApp account. Phone number, BSUID, and username fields may be null depending on which identity Meta has shared.
get/{phone_number_id}/contacts/{id}
Request
- Base URL: https://api.kirimdev.com/v1
- URL: https://api.kirimdev.com/v1/{phone_number_id}/contacts/{id}
- Auth: HTTP bearer
Path parameters
phone_number_idstring required
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).
Example:106540352242922
idstring required
Public Kirimdev contact ID.
Example:ctc_01HXYZABCDEFGHJKMNPQRSTVWX
Response
Contact resource
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.