Get Conversation
Conversation
Get conversation
Retrieve the status and details of a specific conversation
GET
Get Conversation
Documentation Index
Fetch the complete documentation index at: https://docs.jelou.ai/llms.txt
Use this file to discover all available pages before exploring further.
This endpoint does not emit any event to the webhook. It is a read-only query to retrieve the current status of a conversation.
Description
Retrieves the details and current status of a specific conversation. Returns information about the user, the associated bot, start and close dates, and the end reason if applicable.Endpoint
Path parameters
Unique identifier of the Jelou project the conversation belongs to.
Unique identifier of the conversation you want to retrieve.
Authentication
All requests must include thex-api-key header with your Jelou project API key.
Request example
The following example retrieves the details of conversationCONVERSATION_ID within project PROJECT_ID:
cURL
Responses
| Code | Status | Description |
|---|---|---|
| 200 | OK | Conversation found. Returns the conversation details. |
| 401 | Unauthorized | Invalid or missing authentication credentials. |
| 404 | Not Found | Conversation not found for the specified identifiers. |
| 500 | Internal Server Error | Internal server error. |
Response example
Response structure
| Field | Type | Description |
|---|---|---|
data._id | string | Unique identifier of the conversation. |
data.roomId | string | Conversation room identifier. |
data.state | string | Conversation state: active or closed. |
data.startAt | date | Date and time the conversation started. |
data.endAt | date | Date and time of closing. Present only if the conversation is closed. |
data.endedReason | string | Close reason: closed_by_operator. |
data.User.id | string | End user identifier. |
data.User.names | string | End user name. |
data.User.referenceId | string | External reference identifier of the user. |
data.Bot.id | string | Identifier of the bot that handled the conversation. |
data.Bot.name | string | Bot name. |
data.Bot.type | string | Bot channel (for example: Whatsapp). |