Work

Put Work Channel Output Document

Replace a linked document's body (Markdown, whole). Needs canvas-write authority in the channel.

expectedUpdatedAt makes the save conditional: 409 if the document changed since you read it.

put/work/channels/{channel_id}/outputs/{output_id}/document

Request

  • Base URL: https://be.graph8.com/api/v1
  • URL: https://be.graph8.com/api/v1/work/channels/{channel_id}/outputs/{output_id}/document
  • Auth: HTTP bearer

Path parameters

channel_idstring required

Channel id or slug

output_idstring required

Output id

Headers

Authorizationstring nullable
X-Target-Org-Idstring nullable

Request body

contentstring required
expectedUpdatedAtstring nullable

The updated_at the editor loaded. The save fails with 409 if the document has moved on.

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.