Shared conversations are available to all customers. If the capability is
disabled for an account, these endpoints either omit shared-room fields or
return
404 NOT_FOUND for shared-room actions.When
sharingEnabled is omitted from POST /api/v2/murph/conversations, the
new conversation inherits the org-level default set via
conversation settings. If no org default
is configured, conversations start private.List conversations
GET /api/v2/murph/conversations
When shared conversations are enabled, the conversation list includes private
conversations owned by the caller and shared conversations in the same
account.
Response fields
Rename a conversation
PATCH /api/v2/murph/conversations/{conversationUid}/title
Overwrites the conversation title with a name you choose. The auto-generated
title is replaced immediately everywhere it appears. Only the conversation
owner can rename it.
curl
Request body
Response
Enable or disable sharing
PATCH /api/v2/murph/conversations/{conversationUid}/sharing
Sets whether a conversation is shared with teammates in the same account.
The caller must be able to read the conversation. Cross-account access
is never allowed.
curl
Request body
Response
Stream room events
GET /api/v2/murph/conversations/{conversationUid}/events
Opens a Server-Sent Events stream for a shared room. The stream emits new
persisted messages and presence changes. Pass after to resume after a known
message sequence.
curl
Events
Send a room message
POST /api/v2/murph/conversations/{conversationUid}/messages
Send a message to the room without asking Apostra to respond by setting
audience: "room". To ask Apostra, use the normal chat endpoint and direct the
turn to Apostra.
curl
Request body
Errors
400 VALIDATION_ERROR— invalid UUID, query string, or request body.401 UNAUTHORIZED— missing or invalid bearer token.404 NOT_FOUND— conversation does not exist, belongs to another account, is private to another user, or shared conversations are disabled.
Related
Conversation scope
Set an Apostra conversation’s account or advertiser scope.
Chat response
Read the artifacts Apostra can return from an assistant-directed turn.