Skip to content

GET /api/conversations/{conversationId}

GET
/api/conversations/{conversationId}

Authorizations

api_key
Type: API Key (header: X-CSRF-Token)

Parameters

Path Parameters

conversationId*
Typestring
Required

Query Parameters

messagesLimit

How many messages to return.

Typestring

Responses

Authorization
api_key
Variables
Key
Value
conversationId*
messagesLimit
cURL
curl -X GET \
'http://localhost/api/conversations/{conversationId}'

Samples

cURL
curl -X GET http://localhost/api/conversations/{conversationId}
JavaScript
fetch("http://localhost/api/conversations/{conversationId}")
  .then(response => response.json())
  .then(data => console.log(data));
PHP
file_get_contents("http://localhost/api/conversations/{conversationId}");
Python
import requests
response = requests.get("http://localhost/api/conversations/{conversationId}")
print(response.json())