βοΈContacts
Managing your customer contacts made easy.
Contact List
GET /contacts/:appId
Retrieve the contact list available in your application.
Headers
Content-Type
application/json
Authorization
Bearer <token>
Query Params
page
Current page. Default: 1.
limit
Data size per page. Default: 10. Max: 50.
Path Variables
:appId
Application ID
Response
{
"statusCode": 200,
"code": "OK",
"message": "The request has been successfully processed.",
"data": [
{
"id": "abc5ea66-11ad-11ef-8e7a-00155d34f1bf",
"phone": 6280000000000,
"tag": "John Doe",
"is_blocked": false,
"created_at": "2024-05-14T11:51:48.000+07:00"
},
// ...
],
"meta": {
"total": 1,
"limit": 10,
"current_page": 1,
"first_page": 1,
"previous_page": null,
"next_page": null,
"last_page": 1
}
}Contact Details
GET /contacts/:appId/:contactId
Retrieve spesific contact details.
Headers
Content-Type
application/json
Authorization
Bearer <token>
Path Variables
:appId
Application ID
:contactId
Contact ID
Response
Create Contacts
POST /contacts/:appId
Create some contacts for conversation purposes.
Headers
Content-Type
application/json
Authorization
Bearer <token>
Path Variables
:appId
Application ID
Body Raw
Response
Block/Unblock
PUT /contacts/:appId/:contactId
Block and/or unblock contacts.
Headers
Content-Type
application/json
Authorization
Bearer <token>
Path Variables
:appId
Application ID
:contactId
Contact ID
Response
Delete Contact
DELETE /contacts/:appId/:contactId
Delete contacts from your application.
Headers
Content-Type
application/json
Authorization
Bearer <token>
Path Variables
:appId
Application ID
:contactId
Contact ID
Response
Last updated