Skip to main content
POST
/
notes
/
templates
/
{note_template_id}
/
favorite
Toggle Template Favorite
curl --request POST \
  --url https://api.decodahealth.com/notes/templates/{note_template_id}/favorite \
  --header 'API-KEY: <api-key>' \
  --header 'TENANT: <tenant>'
{
  "id": "<string>",
  "name": "<string>",
  "createdDate": "2023-11-07T05:31:56Z",
  "contentTemplate": "<string>",
  "attachments": [],
  "userIds": [
    "<string>"
  ],
  "isFavorited": false
}

Headers

TENANT
string
required

The tenant you are making this request on behalf of

API-KEY
string
required

Your api key

Path Parameters

note_template_id
string
required

Response

Successful Response

id
string
required
name
string
required
createdDate
string<date-time>
required
contentTemplate
string | null
attachments
NoteTemplateAttachmentResponse · object[]
userIds
string[] | null
isFavorited
boolean
default:false