chatformdocs
API referenceV1

Every block type: config schema, what you receive, what you send

GET
/v1/blocks

Authorization

AuthorizationBearer <token>

A server-side secret key. Never send one from a browser — a request carrying an Origin header is refused for this reason.

In: header

Response Body

application/json

curl -X GET "https://example.com/v1/blocks"
{  "schema_version": 0,  "blocks": [    {      "type": "string",      "summary": "string",      "config_hint": "string",      "needs_options": true,      "answered_by": "string",      "config_schema": null,      "public_block": {        "id": "string",        "ref": "string",        "type": "string",        "title": "string",        "required": true,        "imageKey": "string",        "media": null,        "property1": null,        "property2": null      },      "answer": null,      "property1": null,      "property2": null    }  ]}