Use the TutorFlow Content API to create, read, update, and delete whiteboards in a classroom. The resource path is /v1/content/classrooms/{classroomId}/whiteboards. Authenticate with a tf_content_ API key authorized for the classroom. You supply the board cards, and these operations use 0 AI credits.
| To do this | Send this request | Required scope |
|---|---|---|
| List whiteboards | GET /whiteboards | content:read |
| Create a draft | POST /whiteboards | content:write |
| Read the current draft | GET /whiteboards/{id} | content:read |
| Save or publish a draft | PATCH /whiteboards/{id} with the current revision | content:write |
| Read what learners see | GET /whiteboards/{id}/published | content:read |
| Delete a board | DELETE /whiteboards/{id} | content:write |
These paths are relative to /v1/content/classrooms/{classroomId}. The Whiteboards Content API guide includes full URLs, cURL examples, response fields, errors, and the card format.
Draft, published snapshot, and deletion
Save with publish: false to change the draft. Save with publish: true to update the snapshot shown in linked lessons. A stale draft revision returns 409. Read the current draft before retrying.
Deletion removes the board from the classroom library and Content API. Lessons that already use the board continue to display the last published snapshot. Remove or replace those lessons to stop showing that content.