Templates
Abstracts API
Templates
GET /v1/abstract-templates
GET
Templates
Every abstract is created under a template. The template determines which
custom fields the abstract accepts. Call this endpoint to discover your
templates and their field schema before creating abstracts.
Response
array
Your workspace’s abstract templates. Each has an
id (use this as
template_id when creating an abstract), a name, a default flag, and a
custom_fields array.array
The custom fields this template accepts. Each has a
key (use this in the
custom_fields object when creating an abstract), label, type, and
options (for select-type fields). A required flag is included for
forward-compatibility; abstract custom fields are not currently enforced as
required by the API.Example
Field types
If you don’t pass a
template_id when creating an abstract, your workspace’s
default template is used.
