Create or update a template
POST
/notepad/template/save
const url = 'https://api.harperharbor.com/open/v1/notepad/template/save';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"templateId":"example","title":"example","content":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.harperharbor.com/open/v1/notepad/template/save \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "templateId": "example", "title": "example", "content": "example" }'Authorizations
Section titled “Authorizations”Request Body
Section titled “Request Body”Media typeapplication/json
object
templateId
string
title
required
string
content
required
string
Examplegenerated
{ "templateId": "example", "title": "example", "content": "example"}Responses
Section titled “Responses”Saved.