CRM
Fetches the whatsapp interactions of a given date (Only allows the past dates) and a given proccess. This API returns at max 100 records in one page
get/crm/whatsapp
Query parameters
datestring
Example:2020-05-25
Date for which whatsapp interactions should be fetched. Accepted format is YYYY-MM-DD. Only allows the past dates.
pageNonumber required
Requested Page number
processNamestring
Example:Default Proccess
Name of the proccess for which whatsapp interactions should be fetched.
Response
If the auth token is valid.
Example response
{
"statusCode": 0,
"message": "Successfully fetched the whatsapp interactions list",
"data": {
"metadata": [
{
"total": 1,
"page": 1
}
],
"data": [
{
"customer": {
"name": "Rohit Agarwal",
"phoneNumber": "+919898989898"
},
"message": "Hello, How are you.",
"label": "greeting",
"status": "initiated",
"user": {
"name": "Rahul Singh",
"id": "61a4XXXXXXXX"
},
"createdAt": 1600486640
}
]
}
}Changes
No recorded changes to this endpoint across all 1 revision of this API.