Notes API
The Notes API lets developers and integration partners create, read, update, and delete Note entities.
Getting Notes by Context​
Use the getNotesByContext operation to retrieve all notes associated with an entity.
GET /v1/notes/{entity_id}
Non-Entity Contexts​
Filter notes by non-entity contexts such as workflow_execution or workflow_task using the contexts query parameter:
GET /v1/notes/{entity_id}?contexts[]={"type":"workflow_execution","id":"zio6qcaduot"}
note
URL-encode the contexts parameter values using encodeURIComponent().
Creating and Updating Notes​
Create a note with createNote. Update an existing note with updateNote or patchNote. These operations accept all attributes defined on the Note entity schema, plus a content attribute containing stringified HTML.
Content Formatting Rules​
Note content is normalized -- inline style attributes are stripped. Use standard HTML tags for formatting:
- Wrap all content in a
<body>tag <p>for paragraphs- Use
<span>with theepilot360-comment-user-idattribute to mention users
- Use
<h1>to<h3>for headings (max 3 levels)<ol>/<ul>with<li>for lists<a href="...">for links<strong>/<b>for bold,<em>/<i>for italic,<u>for underline
{
"entity_id": "4e9f4d7a-f5d8-4f0d-b8d6-d1b1d5f1f2f3",
"content": "<body><p>Hello from epilot</p></body>"
}
Pinning Notes​
Use pinNote to pin a note to the top of the Notes tab. Pass the Note entity ID as a path parameter.
Deleting Notes​
Use deleteNote to delete a note. Pass the Note entity ID as a path parameter.
danger
Deleting a note that has comments also deletes all comment Note entities in that thread.