cURL
curl --request POST \ --url https://api.decodahealth.com/notes/templates \ --header 'API-KEY: <api-key>' \ --header 'Content-Type: application/json' \ --header 'TENANT: <tenant>' \ --data ' { "name": "<string>", "contentTemplate": "<string>", "attachments": [], "userIds": [ "<string>" ] } '
{ "id": "<string>", "name": "<string>", "createdDate": "2023-11-07T05:31:56Z", "contentTemplate": "<string>", "attachments": [], "userIds": [ "<string>" ], "isFavorited": false }
The tenant you are making this request on behalf of
Your api key
Show child attributes
List of user IDs to grant access. If None, only the creator gets access. Cannot be empty list.
Successful Response