POST
/
v1
/
blocks
/

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
value
string | null

Value of the block.

limit
integer
default: 2000

Character limit of the block.

name
string | null

Name of the block.

template
boolean
default: true
label
string
required

Label of the block.

description
string | null

Description of the block.

metadata_
object | null

Metadata of the block.

user_id
string | null

The unique identifier of the user associated with the block.

Response

200 - application/json
value
string
required

Value of the block.

limit
integer
default: 2000

Character limit of the block.

name
string | null

Name of the block.

template
boolean
default: false

Whether the block is a template (e.g. saved human/persona options).

label
string | null

Label of the block (e.g. 'human', 'persona').

description
string | null

Description of the block.

metadata_
object | null

Metadata of the block.

user_id
string | null

The unique identifier of the user associated with the block.

id
string

The human-friendly ID of the Block