Skip to main content
GET
/
api
/
v1
/
public
/
share
/
{shareId}
View a shared conversation
curl --request GET \
  --url https://handauncle-backend-prod-205012263523.asia-south1.run.app/api/v1/public/share/{shareId}
{
  "success": true,
  "data": {
    "shareId": "<string>",
    "conversation": {
      "id": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "messageCount": 123,
      "title": "<string>",
      "customDescription": "<string>"
    },
    "messages": [
      {
        "id": "<string>",
        "role": "user",
        "content": "<string>",
        "createdAt": "2023-11-07T05:31:56Z",
        "model": "<string>"
      }
    ],
    "metadata": {
      "allowContinuation": true,
      "shareType": "full",
      "viewCount": 123,
      "sharedByUsername": "<string>"
    }
  },
  "meta": {
    "timestamp": "2023-11-07T05:31:56Z",
    "requestId": "<string>"
  }
}
Anonymous/public consumers call this route to fetch the sanitized conversation, messages, and metadata for a share. No authentication is required, but the API tracks view counts via IP/User-Agent derived viewer IDs.

Path Parameters

shareId
string
required

Share identifier returned by POST /api/v1/share.

Required string length: 8 - 64

Response

Shared conversation returned.

success
enum<boolean>
required
Available options:
true
data
object
required
meta
object
required