POST /v1/blocks to add a new study block to your schedule. Provide the subject, date, and time range — and optionally a topic. The API returns the created block.
Endpoint
Body Parameters
The ID of the subject this block should belong to. Must be a valid subject ID from your account.
The date for the block in
YYYY-MM-DD format.The start time for the block in
HH:MM format.The end time for the block in
HH:MM format. Must be a time after start on the same date.An optional topic or syllabus item label for this block.
Response
Returns the newly created block object inside thedata field with HTTP status 201 Created.
Unique identifier for the newly created study block.
The ID of the subject this block belongs to.
The display name of the subject.
The date of the block in
YYYY-MM-DD format.The block’s start time in
HH:MM format.The block’s end time in
HH:MM format.The topic label for this block, or
null if none was provided.Whether the block has been marked as complete. Always
false on creation.Examples
A newly created block always has
done set to false. Use the Update Block endpoint to mark it complete after your session.