List messages in dialogue
GET
https://app-dev.jollor.com/api/public/v1/projects/{project_id}/dialogues/{dialogue_id}/messages
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://app-dev.jollor.com/api/public/v1/projects/<your project_id>/dialogues//messages?limit=1000' \
--header 'Content-Type: application/json'
Response Response Example
[
{
"id": "654a160e1b8f0f673d4a6a9e",
"provider": "facebook",
"sent_at": "2023-11-07T10:48:41.000Z",
"is_incoming": true,
"sender": {
"id": "654a160e1b8f0f673d4a6a9f",
"name": "Dương Duy"
},
"recipient": {
"id": "5440fb68f779df5379001123",
"name": "Psikipedie"
},
"text": "hello",
"_links": {
"self": {
"href": "/public/v1/messages/654a160e1b8f0f673d4a6a9e"
},
"capabilities": {
"href": "/public/v1/messages/654a160e1b8f0f673d4a6a9e/capabilities"
}
}
},
{
"id": "654a62070b60f866c752e4b9",
"provider": "facebook",
"sent_at": "2023-11-07T10:48:41.000Z",
"is_incoming": false,
"sender": {
"id": "5440fb68f779df5379001123",
"name": "Psikipedie"
},
"recipient": {
"id": "654a160e1b8f0f673d4a6a9f",
"name": "Dương Duy"
},
"text": "Dobrý den Duy Dương , můžeme vám pomoct? :)",
"_links": {
"self": {
"href": "/public/v1/messages/654a62070b60f866c752e4b9"
},
"capabilities": {
"href": "/public/v1/messages/654a62070b60f866c752e4b9/capabilities"
}
}
}
]
Request
Path Params
project_id
string
required
Example:
{{project_id}}
dialogue_id
string
required
Query Params
limit
integer
required
Example:
1000
Header Params
Content-Type
string
required
Example:
application/json
Responses
Modified at 2024-05-03 13:31:41