Skip to main content
POST
/
v1
/
agents
/
{agentId}
/
conversations
/
{contextId}
/
share
Create a share snapshot of a conversation or single message
curl --request POST \
  --url https://{host}/v2/workspaces/slug:agent-factory/webhooks/v1/agents/{agentId}/conversations/{contextId}/share \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "id": "<string>",
  "type": "conversation",
  "url": "<string>",
  "apiUrl": "<string>",
  "created_at": "2023-11-07T05:31:56Z"
}

Documentation Index

Fetch the complete documentation index at: https://docs.prisme.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

User session JWT or instance API key (iak_*). Send as Authorization: Bearer <token>.

Path Parameters

agentId
string
required
Maximum string length: 64
contextId
string
required
Maximum string length: 64

Body

application/json
message_id
string

Optional - when set, share is scoped to this single message (type: "message" instead of "conversation").

Maximum string length: 128

Response

Share created.

id
string
type
enum<string>
Available options:
conversation,
message
url
string

UI URL on the caller's origin (/share/{share_id}).

apiUrl
string

Public API URL pointing at /v1/shared/{shareId}.

created_at
string<date-time>