List mentions in a conversation
Retrieves mentions of a replica in a specific conversation, together with context surrounding the mention. This endpoint supports cursor-based pagination. Returns most recent mentions first.
Request
- Base URL: https://api.sensay.io
- URL: https://api.sensay.io/v1/replicas/{replicaUUID}/conversations/{conversationUUID}/mentions
- Auth: one of:
- API key in header X-ORGANIZATION-SECRET and API key in header X-USER-ID and API key in header X-USER-ID-TYPE
- API key in header X-ORGANIZATION-SECRET
Path parameters
The replica unique identifier (UUID)
The conversation unique identifier (UUID)
Query parameters
The number of items to fetch. A group of messages is counted as 1 item and a placeholder is counted as 1 item.
Only returns results after the given message UUID. Excludes given message UUID.
Only returns results before the given message UUID. Excludes given message UUID.
The minimum number of messages to include in the placeholder. Placeholders with less than this number of messages will be expanded into messages.
Headers
Response
List of messages/placeholders
Example response
{
"items": [
{
"messages": [
{
"uuid": "03db5651-cb61-4bdf-9ef0-89561f7c9c53",
"createdAt": "2024-09-24T09:09:55.66709+00:00",
"content": "Hello world!",
"role": "user",
"senderName": "John Doe",
"senderProfileImageURL": "https://example.com/avatar.png",
"source": "web",
"replicaUUID": "03db5651-cb61-4bdf-9ef0-89561f7c9c53"
}
]
}
],
"hasMore": true
}Changes
No recorded changes to this operation across all 1 revision of this API.