Craft Daily Notes icon

Craft Daily Notes

Interact with Craft Daily Notes API - manage blocks, tasks, collections, and search

Block → Move

AI-generated

Summary

Move specified blocks to a new position within the same or a different daily note in Craft Daily Notes.

Inputs

  • Block IDs (required) — Comma-separated values or JSON array of block IDs to be moved.
  • Position (required) — Defines where to move the blocks: start, end, before, or after a specific block in a target daily note. When using 'before' or 'after', the Reference Block ID is required.
  • Position.Position Type (required) — Type of position to move the blocks: 'end' (end of document), 'start' (start of document), 'before' (before a specified block), or 'after' (after a specified block).
  • Position.Target Date (required) — The date of the daily note to which the blocks will be moved. Can be 'today', 'tomorrow', 'yesterday', or a YYYY-MM-DD string.
  • Position.Reference Block ID — The block ID to position the moved blocks relative to (required only if Position Type is 'before' or 'after').

Output shape

no body
success/failure only

The operation performs a PUT request to the /blocks/move endpoint. No content is returned on success, only HTTP status indication.

Links

Discussion