Add a block to a resource
Authorizations
API key authentication. Use "Bearer <api_key>" or "Api-Key <api_key>".
Path Parameters
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Body
Create a content block. Resources are composed of ordered blocks — each block is a distinct content unit (text paragraph, image, video, quiz, etc.).
Create a content block. Resources are composed of ordered blocks — each block is a distinct content unit (text paragraph, image, video, quiz, etc.).
Block type. Determines how content is interpreted: text (TipTap JSON), image (use asset_uuid), video (videoContent), document (use asset_uuid), button (TipTap JSON with link), embed (embedContent), powerpoint (use asset_uuid), files (filesContent), quiz (quizContent).
text, image, video, document, button, embed, powerpoint, files, quiz Display order (1-indexed). Blocks are rendered in ascending series order.
Block content. Shape depends on type: text/image/document/button → TipTap JSON; video → {source, url}; embed → {url, html}; files → {files: [...], layout}; quiz → {questions: [...], passingScore, ...}. See block type documentation for details.
Asset UUID for image, video (uploaded), document, or powerpoint blocks.
Visual styling for the block.
Markdown content for text blocks. When provided, converts to TipTap JSON and overrides the content field.
100000Response
Default Response
text, image, video, document, button, embed, powerpoint, files, quiz Display order (1-indexed)
Block content — shape varies by type. See documentation.
Visual styling for the block.
Associated asset (image, video file, document, etc.)