Get Advisor Conversations
Conversations
Agent conversations
Query conversations handled by human agents
POST
Get Advisor Conversations
Retrieve conversations attended by a human agent to analyze response times, closure states, and assignments. You receive metadata about operators, users, and bots involved within a defined date range.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.
Endpoint
Authentication
| Field | Location | Type | Required | Description |
|---|---|---|---|---|
| Authorization | Header | string | Yes | Credentials in clientId:clientSecret format. |
Query Parameters
| Field | Location | Type | Required | Default value | Description |
|---|---|---|---|---|---|
| limit | Query | integer | No | 10 | Maximum number of conversations per page. |
| page | Query | integer | No | 1 | Page number for pagination. |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| startAt | string | Yes | Start date of the range in ISO 8601 format. Example: 2025-01-01T00:00:00-05:00 |
| endAt | string | Yes | End date of the range in ISO 8601 format. Example: 2025-01-01T23:59:59-05:00 |
| getJson | boolean | Yes | Must be true to receive the response in JSON format. |
Request Examples
- cURL
- JavaScript
Responses
200 - Successful response
200 - Successful response
401 - Unauthorized
401 - Unauthorized
422 - Unprocessable Entity
422 - Unprocessable Entity
429 - Too Many Requests
429 - Too Many Requests
500 - Internal Server Error
500 - Internal Server Error
Response Detail
results object
| Field | Type | Description |
|---|---|---|
| _id | string | Unique conversation identifier. |
| operator | object | Information about the operator who attended the conversation (names). |
| user | object | User information (id). |
| bot | object | Associated bot information (name). |
| company | object | Company information (id). |
| assignationMethod | object | Assignment method and team (teamName). |
| state | string | Conversation state: active, closed, resolved, expired. |
| endedReason | string | Reason why the conversation ended. |
| startAt | string | Conversation start date and time. |
| endAt | string | Conversation end date and time. |
| origin | string | Conversation source (e.g.: ticket). |
| timeRepliedOperator | number | Operator response time in milliseconds. |
| conversationDuration | number | Total conversation duration in milliseconds. |
pagination object
| Field | Type | Description |
|---|---|---|
| limit | integer | Conversations returned per page. |
| total | integer | Total conversations matching the filters. |
| offset | integer | Conversations skipped according to the requested page. |
| totalPages | integer | Total number of available pages. |
links object
| Field | Type | Description |
|---|---|---|
| number | integer | Page number. |
| url | string | Relative URL to access that page. |
Performance metrics
Authorizations
Basic authentication using Base64 encoded clientId:clientSecret
Body
application/json