Skip to content

Read a conversation

GET
/v1/workspaces/{workspaceId}/messages/with/{userId}
curl --request GET \
--url https://shareout.site/v1/workspaces/example/messages/with/example \
--header 'Authorization: Bearer <token>'

Messages with one person, newest first. With no conversation yet, thread_id is null and messages empty. Reading does not mark it read; POST /read does.

workspaceId
required
string

Workspace ID or slug.

userId
required
string
before
string

ISO timestamp; messages created before it (paging back).

limit
integer
<= 100

The conversation

Media typeapplication/json
object
thread_id
string | null
with
object
id
string
name
string | null
email
string | null
picture
string | null
messages
Array<object>
object
id
string
body
string
sentByMe
boolean
senderId
string | null
sentVia

Where it was written; anything but web was written through the sender’s assistant.

string
Allowed values: web api mcp assistant
artifact
object
id
string
name
string
slug
string | null
createdAt
string format: date-time

Example

{
"messages": [
{
"sentVia": "web"
}
]
}

Access denied

Media typeapplication/json
object
success
required
boolean
error
required

Human-readable message.

string
code
required

Machine-readable error code.

string
request_id

Correlation id (also the X-Request-Id header). Quote it in support tickets.

string
reason

Finer cause under code. For UNAUTHORIZED: missing, invalid, revoked or expired.

string
hint

What to do next, in plain words.

string
suggestion
string
param

The request field at fault.

string
docs

Doc page for this error.

string
redirect_url
string
support

Present on 5xx — how to reach a human.

object
how
string
include
Array<string>

Example

{
"success": false,
"support": {
"how": "POST /v1/support/tickets",
"include": [
"request_id"
]
}
}

Resource not found

Media typeapplication/json
object
success
required
boolean
error
required

Human-readable message.

string
code
required

Machine-readable error code.

string
request_id

Correlation id (also the X-Request-Id header). Quote it in support tickets.

string
reason

Finer cause under code. For UNAUTHORIZED: missing, invalid, revoked or expired.

string
hint

What to do next, in plain words.

string
suggestion
string
param

The request field at fault.

string
docs

Doc page for this error.

string
redirect_url
string
support

Present on 5xx — how to reach a human.

object
how
string
include
Array<string>

Example

{
"success": false,
"support": {
"how": "POST /v1/support/tickets",
"include": [
"request_id"
]
}
}