Edit a whiteboard
Change a whiteboard in one atomic call of up to 200 ops: add, update, move and delete elements (post-its, cards, routine tiles, integration icons, connectors and more), add/update/delete items of list elements, add/rename/delete levels (a level is reached through its portal). Everyone viewing the board sees the change at once. Read documents.whiteboard_read first; read_docs("whiteboard") for element fields and placement. Before your first change to a whiteboard in this conversation, call documents.whiteboard_open and open its url in the user's browser so the user watches the board change live. Do not open it again if you already did earlier in the conversation.
Authorization
bearerApiKey Create a scoped API key in the Adlass settings.
In: header
Path Parameters
Resource identifier: document_id.
uuidHeader Parameters
Optional correlation identifier.
length <= 128A unique key for this intended write; the body field idempotency_key is accepted instead. One of the two is required. Reuse it only for an identical retry.
1 <= length <= 200Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/documents/123e4567-e89b-42d3-a456-426614174000/whiteboard/edit" \ -H "Idempotency-Key: 123e4567-e89b-42d3-a456-426614174000" \ -H "Content-Type: application/json" \ -d '{ "ops": [ { "op": "add" } ] }'{ "document_id": "123e4567-e89b-42d3-a456-426614174000", "content_hash": "3f786850e387550fdab836ed7e6dc881de23001b", "changed": false, "results": [ { "index": 0 } ]}