Note Reactions API
List note reactions
List all note reactions for a note:
GET /notes/:note_id/note_reactions
Response
status: 200 OK
[
{
"id": 5,
"person": {
"id": 6,
"name": "Howard Tanner"
},
"account": {
"id": 5,
"name": "Widget Data Center"
},
"reaction": "👍"
}
]
The response contains these fields by default. Pagination is available to reduce/limit the collection of note reactions.
Create a note reaction
POST /note_reactions
When creating a new note reaction you have to provide a note_id and reaction see the fields section.
Response
status: 201 Created
{
"id": 5,
"person": {
"id": 6,
"name": "Howard Tanner"
},
"account": {
"id": 5,
"name": "Widget Data Center"
},
"reaction": "👍"
}
Remove a note reaction
Remove a note reaction with a specific ID.
DELETE /note_reactions/:id
Response
status: 204 No Content
Fields
- account
- Readonly reference to Account — The account that the note reaction belongs to
- id
- Readonly integer — The unique ID of the note reaction.
- note_id
- Required reference to Note
- person
- Readonly reference to Person
- reaction
- Required string — The type of reaction to add to the note. Valid values are: 👍 👎 😀 😕 🎉 ❤️.