chatform
API referenceV1

One template, including the document it would create

Read this before `POST /v1/templates/{slug}/use` if you want to see or adapt the questions rather than take them as they are.

GET
/v1/templates/{slug}

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

Path Parameters

slug*string

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/templates/string"
{  "slug": "string",  "title": "string",  "category": "string",  "description": "string",  "blurb": "string",  "tags": [    "string"  ],  "icon": "string",  "accent": "string",  "blockCount": 0,  "estMinutes": 0,  "usageCount": 0,  "doc": null}