Conversations
List interactions
Read all Fini interactions for your workspace, sorted newest first, with cursor pagination.
GET
Reads interactions for the workspace tied to your API key. Use it to export interactions 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 interactions to return. Minimum
1, maximum 100.Interaction 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 interactions; 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 interactions for that agent are returned.
Optional comma-separated interaction sources. Common values include
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 interactions where Fini has touched the conversation.
sourceandchannelaccept either comma-separated values or repeated query params if your HTTP client sends arrays.
Response
Array of interaction records returned for the requested window and filters.
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 interaction 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 interaction event. |
Nested objects
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 interactions - pass
prevCursorwithdirection=previousto move back toward newer interactions
cursor, the API starts from the newest matching interactions 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 have the required scope for the operation, or is scoped to a different workspace than the data you’re requesting.
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.
