List conversations Run in API Explorer
The calling agent's message threads, most recent message first, each with its participants, when its latest message was sent, and how many messages others have sent since the agent last read it. A thread with no messages yet is left out, as in the agent app's inbox. Reading never marks a thread read.
Requires the conversations:read scope. Rate budget: 60 calls per 1 minute per credential (the list class).
Query parameters
-
true for the threads the agent has archived; omit or false for the inbox.
-
Only threads with this contact; an id that is none of the agent's contacts is an empty page.
-
Opaque cursor from the previous page's next_cursor; a cursor another list issued is refused.
-
Page size, 1 to 100.
Minimum value is
1, maximum value is100. Default value is25.
Responses
-
OK
-
The request is invalid;
fieldnames the offending input when there is one. A body that is not valid JSON is refused before the API runs, as a bare 400 with no body. -
Invalid or missing bearer token.
-
The credential was not granted the scope this call requires.
-
Not found, or not yours: the two are indistinguishable on purpose.
-
Rate limit exceeded;
Retry-Aftersays when to try again. -
Something went wrong on our side.
curl -H "Authorization: Bearer rs_agent_..." "https://www.realscout.com/api/agent/v1/conversations?limit=25"
{
"data": [
{
"id": "Q29udmVyc2F0aW9uLTQy",
"created_at": "2026-08-06T07:06:40Z",
"last_message_at": "2026-08-19T02:11:00Z",
"unread_count": 2,
"realscout_url": "https://www.realscout.com/agent/conversations/Q29udmVyc2F0aW9uLTQy",
"participants": [
{
"id": "QWdlbnQtNw==",
"type": "Agent",
"first_name": "Dana",
"last_name": "Agent",
"email": "dana@example.com"
},
{
"id": "VXNlci0xMjM=",
"type": "User",
"first_name": "Eleanor",
"last_name": "Nguyen",
"email": "eleanor@example.com"
}
]
}
],
"has_more": true,
"next_cursor": "bGlzdF9jb252ZXJzYXRpb25zfFd5SXlNREkyTFRBNExUSXlJREE1T2pBd09qQXdJaXcwTWwwPQ"
}
{
"error": {
"code": "invalid_request",
"message": "limit must be an integer.",
"field": "limit",
"request_id": "9b2f4c1e-7d3a-4e5b-8f6c-0a1d2e3f4b5c"
}
}
{
"error": {
"code": "unauthorized",
"message": "Invalid or missing credentials.",
"request_id": "9b2f4c1e-7d3a-4e5b-8f6c-0a1d2e3f4b5c"
}
}
{
"error": {
"code": "missing_scope",
"message": "This call requires the conversations:read scope, which this credential was not granted.",
"request_id": "9b2f4c1e-7d3a-4e5b-8f6c-0a1d2e3f4b5c"
}
}
{
"error": {
"code": "not_found",
"message": "No endpoint at GET /api/agent/v1/conversations.",
"request_id": "9b2f4c1e-7d3a-4e5b-8f6c-0a1d2e3f4b5c"
}
}
{
"error": {
"code": "rate_limited",
"message": "Rate limit exceeded. Try again in 30 seconds.",
"request_id": "9b2f4c1e-7d3a-4e5b-8f6c-0a1d2e3f4b5c"
}
}
{
"error": {
"code": "internal_error",
"message": "Something went wrong on our side.",
"request_id": "9b2f4c1e-7d3a-4e5b-8f6c-0a1d2e3f4b5c"
}
}