Work

Update Work Chat

Rename a chat and/or archive or restore it for the caller. PERSONAL KEY ONLY.

Archive is per person; rename is for everyone. Send title, archived, or both. 404 for a chat that is not the caller's, 409 once it became a channel, 422 for an empty name.

patch/work/chats/{chat_id}

Request

  • Base URL: https://be.graph8.com/api/v1
  • URL: https://be.graph8.com/api/v1/work/chats/{chat_id}
  • Auth: HTTP bearer

Path parameters

chat_idstring required

Chat id

Headers

Idempotency-Keystring nullable

Retry-safety key. Replaying one returns the ORIGINAL result with duplicate: true instead of writing twice. Omit it and the server mints a single-use key, which means a retried request writes again: send your own for anything you may retry.

Authorizationstring nullable
X-Target-Org-Idstring nullable

Request body

titlestring nullable

The chat's new name.

archivedboolean nullable

True puts the chat in the caller's Archive; false brings it back.

Response

Successful Response

dataWorkChannelPayload required

A Work channel, chat, output, task, decision or activity document, as the app returns it.

Changes

No recorded changes to this operation across all 2 revisions of this API.