List Note templates
GET
/api/v1/notes/templates
const url = 'https://example.com/api/v1/notes/templates';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/v1/notes/templates \ --header 'Authorization: Bearer <token>'Requires a signed-in User with the data scope. It returns available Note templates. It returns 400 when the list request is invalid. Route: /api/v1/notes/templates. Inputs: folder. Safe reads can use bounded retries.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”folder
string
New Notes use the flat Notes/ root, so only that value is accepted.
Responses
Section titled “Responses”Media typeapplication/json
object
default_template
string | null
items
required
Array<object>
object
id
required
string
title
required
string
Examplegenerated
{ "default_template": "example", "items": [ { "id": "example", "title": "example" } ]}Media typeapplication/json
The standard API error response: { "error": { ... } }.
object
Example
{ "error": { "code": "bad_request" }}