Chat

Share a chat

PATCH
/api/v1/chat/share/{chatId}
/api/v1/chat/share/{chatId}

The Authorization access token

Authorization

Authorization
Required
<token>

Please enter a valid access token

In: header

Request Body

application/jsonOptional

Whether the chat should be shared

shared
Required
boolean

Path Parameters

chatId
Required
string

The chat ID to share

curl -X PATCH "https://example.com/api/v1/chat/share/string" \
  -H "Authorization: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "shared": true
  }'

OK