Conversations
List conversations
Read all Fini conversations for your workspace, sorted newest first, with cursor pagination.
GET
Reads conversations for the workspace tied to your API key. Use it to export conversations into your own systems for analytics, QA review, or downstream processing. This is the read path described on the API overview — it pulls data out of Fini and does not change agent behavior. Results are sorted by latest message time, newest first.
Headers
Bearer token containing your Fini workspace API key. Format:
Bearer fini_...Query parameters
Start of the time window in Unix epoch milliseconds. If omitted, Fini defaults to the last 7 days.
End of the time window in Unix epoch milliseconds. If omitted, Fini defaults to the current time.
Maximum number of conversations to return. Minimum
1, maximum 100.Conversation ID to paginate from. Pass the
nextCursor or prevCursor value returned by the previous response.Pagination direction when a cursor is supplied. Note the inverted mapping:
next moves to older conversations; previous moves back toward newer ones. This is because results are sorted newest first, so “next page” goes further back in time.Optional agent ID filter. When provided, only conversations for that agent are returned.
Optional comma-separated conversation sources. Common values include
api, widget, ui, standalone, testsuite, replay, zendesk, intercom, front, hubspot, salesforce, gorgias, livechat, slack, discord, freshdesk, and freshchat.Optional comma-separated channel filter.
Additional behavior worth knowing:
- The endpoint only returns conversations where Fini has touched the conversation.
sourceandchannelaccept either comma-separated values or repeated query params if your HTTP client sends arrays.
Response
Array of
PublicConversation objects returned for the requested window and filters. See PublicConversation.Whether more results exist beyond the current page.
Cursor to use when paginating forward.
null if there is no next page.Cursor to use when paginating backward.
null if there is no previous page.The
400 Bad Request message varies by cause — it may quote the specific rule that failed (since/until range > 90 days, since >= until, invalid UUID, etc.). See Errors for the full list of causes.Field semantics
userAttributes
userAttributes is an open-ended object. Fini returns the attributes captured on the conversation as-is, so the schema is consumer-defined and can vary by workspace. If your bots populate CRM-specific or workflow-specific fields, they appear here unchanged.
csatRating
events[].csatRating is passed through from the stored event data:
nullmeans no CSAT value is present on that event- numeric values are returned as stored
0, the API returns 0. Do not automatically treat 0 as “unrated” unless that is how your own channel or integration encodes the value.
Event roles
events[].role can currently be:
| Value | Meaning |
|---|---|
user | A message from the end user or customer. |
agent | A human agent message synced from the connected provider. |
finibot | A Fini-generated message or system action. |
otherbot | A non-Fini bot or automation message from the upstream provider. |
Event types
events[].type can currently be:
| Value | Meaning |
|---|---|
message | A normal message event. |
internalnote | A private/internal note rather than a customer-visible message. |
no_reply | Fini decided not to send a reply. |
silent_escalation | Fini escalated without posting a visible reply. |
debounce | A debounce/system event used internally around message timing. |
widget_form | A widget form conversation event. |
Nested objects
PublicConversation
PublicConversation
| Field | Type | Description |
|---|---|---|
id | string | Conversation ID. Also used as the pagination cursor. |
createdAt | epoch ms | When the conversation was created. |
source | string | Source of the conversation, such as api, widget, ui, or a connected integration. |
channel | string | Channel type. Currently email or chat. |
status | string | null | Human-readable conversation status, if available. |
externalId | string | null | External system identifier when the conversation came from an integration. |
url | string | null | Link back to the source conversation, when available. |
subjectPreview | string | null | Short subject or preview string for the conversation. |
hasFeedback | boolean | Whether the conversation has feedback attached. |
resolved | boolean | null | Whether the conversation has been marked resolved. |
userAttributes | object | null | User attributes captured on the conversation. See Field semantics. |
usedArticles | PublicArticle[] | Public article references used during the conversation. |
usedSubfolders | PublicSubfolder[] | Public subfolder references used during the conversation. |
events | PublicEvent[] | Chronological event stream for the conversation. |
PublicEvent
PublicEvent
| Field | Type | Description |
|---|---|---|
id | string | Event ID. |
createdAt | epoch ms | When the event was created. |
role | string | One of the event roles documented above. |
type | string | One of the event types documented above. |
message | string | null | Message text, when the event carries message content. |
externalId | string | null | Provider-side message ID when available. |
externalCreatedAt | epoch ms | null | Provider-side timestamp when available. |
csatRating | number | null | Numeric CSAT value if one was stored on the event. |
feedback | string | null | Free-text feedback note attached to the event. |
approved | boolean | null | Thumbs up (true), thumbs down (false), or unrated (null). |
resolved | boolean | null | Resolution flag for negatively rated or flagged events. |
attachments | array | File attachments on the event. Passed through from stored event data; commonly includes fields like originalUrl, contentType, expiresAt, sizeBytes, and storage URLs. |
tags | PublicTag[] | Tags attached to the event. |
usedArticles | PublicArticle[] | Articles retrieved for that specific event. |
PublicArticle
PublicArticle
| Field | Type | Description |
|---|---|---|
id | string | Article ID. |
title | string | Article title. |
documentUrl | string | null | Source document URL when available. |
PublicSubfolder
PublicSubfolder
| Field | Type | Description |
|---|---|---|
id | string | Folder ID. |
title | string | Folder title. |
PublicTag
PublicTag
| Field | Type | Description |
|---|---|---|
id | string | Tag ID. |
name | string | Tag name. |
groupId | string | null | Parent tag-group ID when one exists. |
Pagination
Cursor pagination is relative to the current cursor, not to time:- pass
nextCursorwithdirection=nextto move to older conversations - pass
prevCursorwithdirection=previousto move back toward newer conversations
cursor, the API starts from the newest matching conversations in the requested time window.
Errors
400 Bad Request
400 Bad Request
The query parameters are invalid. Common causes: an invalid UUID,
since later than or equal to until, or a time window larger than 90 days. The response message quotes the specific rule that failed.401 Unauthorized
401 Unauthorized
403 Forbidden
403 Forbidden
The API key does not include the
read scope required for this route.429 Too Many Requests
429 Too Many Requests
You exceeded the rate limit. Back off and retry with your own client-side policy — see Rate limits.
500 Internal Server Error
500 Internal Server Error
Fini failed to fulfill the request. Retry once, then contact support if the error persists.
Rate limits
The API applies a global throttle of 100 requests per 60 seconds. Two caveats:- this endpoint does not currently document
X-RateLimit-*headers - this endpoint does not currently document a
Retry-Afterheader contract
429, back off and retry with your own client-side policy.
