Skip to main content
POST
Create Template
Create a custom note template: just a title and a desc describing your format in plain text or markdown (sections, bullets, tables, tone). Always pass section_ids: [].
Use the returned template_id in Create Session or Process Template.

Authorizations

Authorization
string
header
required

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

Body

application/json
title
string
required

Display name of the template.

Example:

"Cardiology OPD Note"

section_ids
string[]
required

Pass an empty array []. Describe your desired structure in desc instead.

Example:
desc
string

The template instructions in plain text or markdown. Describe the sections, ordering, formatting (bullets, tables, headings) and tone you want in the generated note. This is what EkaScribe follows when generating notes with this template.

type
string

Template type. Use custom (default) for your own templates.

Example:

"custom"

Response

Template created

msg
string
Example:

"created successfully"

template_id
string
Example:

"tpl_7d1a2b3c4d5e"