API referenceChapters
Add a script block
Add a block to the chapter's script.
Blocks live in chapters.script_blocks; narration blocks are what voice-over and scene anchors attach to.
Authorization
bearerAuth AuthorizationBearer <token>
Typecut API key. Generate one in app.typecut.ai → Settings → API keys. Send as Authorization: Bearer tc_live_….
In: header
Path Parameters
chapterId*string
Format
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/chapters/497f6eca-6276-4993-bfeb-53cbbbba6f08/blocks" \ -H "Content-Type: application/json" \ -d '{ "content": "string" }'{
"data": {
"block": null
}
}{
"error": {
"type": "string",
"code": "string",
"message": "string"
}
}{
"error": {
"type": "string",
"code": "string",
"message": "string"
}
}{
"error": {
"type": "string",
"code": "string",
"message": "string"
}
}{
"error": {
"type": "string",
"code": "string",
"message": "string"
}
}