Messages
List Messages
Get global message history.
AuthorizationBearer <token>
API key authentication. Use format: Bearer kejue_...
In: header
Query Parameters
page?integer
page_size?integer
search?string
Response Body
application/json
curl -X GET "https://api.kejue.co/api/v1/messages"{
"messages": [
{
"id": 0,
"business_id": "string",
"content": "string",
"chat_id": 0,
"role": "string",
"status": "string",
"error_message": "string",
"sent_at": "2019-08-24T14:15:22Z",
"delivered_at": "2019-08-24T14:15:22Z",
"read_at": "2019-08-24T14:15:22Z",
"created_at": "2019-08-24T14:15:22Z",
"lead_id": 0,
"lead_first_name": "string",
"lead_last_name": "string",
"lead_phone_number": "string"
}
],
"pagination": {
"page": 1,
"page_size": 20,
"total_count": 100,
"total_pages": 5,
"has_next": true,
"has_prev": false
}
}Last updated on

