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>", "questions": [], "userIds": [ "<string>" ], "expiryDays": 123 } '
{ "id": "<string>", "name": "<string>", "createdDate": "2023-11-07T05:31:56Z", "questions": [], "userIds": [ "<string>" ], "isFavorited": false, "expiryDays": 123 }
The tenant you are making this request on behalf of
Your api key
Show child attributes
List of user IDs to grant access. None = everyone has access (null provider access pattern). Non-empty list = specific users have access.
Successful Response