GET /api/conversations/{conversationId}/messages
GET
/api/conversations/{conversationId}/messagesAuthorizations
api_key
Type: API Key (header: X-CSRF-Token)
Parameters
Path Parameters
conversationId*
Typestring
RequiredQuery Parameters
olderThanId
ID of oldest already known message
Typestring
limit
Number of messages to return
Typestring
Responses
GET
/api/conversations/{conversationId}/messagesAuthorization
api_key
Variables
Key
Value
conversationId*
olderThanId
limit
cURL
curl -X GET \
'http://localhost/api/conversations/{conversationId}/messages'
Samples
cURL
curl -X GET http://localhost/api/conversations/{conversationId}/messages
JavaScript
fetch("http://localhost/api/conversations/{conversationId}/messages")
.then(response => response.json())
.then(data => console.log(data));
PHP
file_get_contents("http://localhost/api/conversations/{conversationId}/messages");
Python
import requests
response = requests.get("http://localhost/api/conversations/{conversationId}/messages")
print(response.json())