Notes
Attach free-text notes to a customer. Notes support Markdown and an optional reminder, which Ranksy keeps as a follow-up task. Each note belongs to one customer (installation), so you need the customer's ID from the Customers endpoints.
Notes are the write resource in the Customers section. Listing, creating, updating, and deleting notes all require the crm.access permission (see Permissions). On keys created before permissions, listing needs the crm:read scope and creating, updating, and deleting need crm:write. The :installation in the path is the customer's ID.
List notes
Returns a customer's notes, newest first. Requires crm.access. remind_at and remind_user_id are the due date and assignee of the note's latest follow-up task, and task_id is that task's id; all three are null for a note without a reminder.
Path parameters
- Name
app- Type
- string
- Description
The team app's ULID, e.g.
01JN4HKQX0000000000000000.
- Name
installation- Type
- integer
- Description
The customer's ID, from the Customers endpoints.
Request
curl https://ranksyapp.com/api/v1/apps/01JN4HKQX0000000000000000/customers/4210/notes \
-H "Authorization: Bearer rk_live_..."
Response
{
"data": [
{
"id": 42,
"title": "Follow-up call",
"body": "Discussed pricing. Interested in the Pro plan.",
"author": "John Doe",
"remind_at": null,
"remind_user_id": null,
"task_id": null,
"created_at": "2026-08-03T14:30:00+00:00",
"updated_at": "2026-08-03T14:30:00+00:00"
}
]
}
Create a note
Creates a note on the customer. title is required. Requires crm.access. Returns 201 Created.
Request body
- Name
title- Type
- string
- Description
Note title, max 255 characters.
- Name
body- Type
- string
- Description
Note content in Markdown, max 10,000 characters.
- Name
remind_at- Type
- string
- Description
ISO-8601 time for the reminder. Ranksy creates a follow-up task for the note (source
note), due at this time, and reminds its assignee when it's due. Omit for no reminder.
- Name
remind_user_id- Type
- integer
- Description
The user to remind. Must be a member of your team with CRM access. Defaults to the note's author (for an API key, the member who created the key).
- Name
remind_email- Type
- string
- Description
The email of a team member to remind, instead of
remind_user_id.
Request
curl -X POST https://ranksyapp.com/api/v1/apps/01JN4HKQX0000000000000000/customers/4210/notes \
-H "Authorization: Bearer rk_live_..." \
-H "Content-Type: application/json" \
-d '{
"title": "Follow-up call",
"body": "Discussed pricing. Interested in the Pro plan.",
"remind_at": "2026-08-10T09:00:00Z",
"remind_email": "john@example.com"
}'
201 — Created
{
"data": {
"id": 43,
"title": "Follow-up call",
"body": "Discussed pricing. Interested in the Pro plan.",
"author": "John Doe",
"remind_at": "2026-08-10T09:00:00+00:00",
"remind_user_id": 7,
"task_id": "01JR8Y4Q2N6V7K3M5T9WXCZB1D",
"created_at": "2026-08-09T18:02:00+00:00",
"updated_at": "2026-08-09T18:02:00+00:00"
}
}
Update a note
Replaces a note's content. Same fields as create, and title is still required: send the full note, because an omitted body is cleared. Omitting remind_at leaves an existing reminder as it is; sending a new remind_at moves it (or, if its follow-up task is already closed, creates a new one). Requires crm.access.
Path parameter
- Name
note- Type
- integer
- Description
The note's ID.
Request
curl -X PUT https://ranksyapp.com/api/v1/apps/01JN4HKQX0000000000000000/customers/4210/notes/43 \
-H "Authorization: Bearer rk_live_..." \
-H "Content-Type: application/json" \
-d '{ "title": "Follow-up call", "body": "Signed up for the Pro plan." }'
200 — Updated
{
"data": {
"id": 43,
"title": "Follow-up call",
"body": "Signed up for the Pro plan.",
"author": "John Doe",
"remind_at": "2026-08-10T09:00:00+00:00",
"remind_user_id": 7,
"task_id": "01JR8Y4Q2N6V7K3M5T9WXCZB1D",
"created_at": "2026-08-09T18:02:00+00:00",
"updated_at": "2026-08-09T19:14:00+00:00"
}
}
Delete a note
Permanently deletes the note. Requires crm.access. Returns 204 No Content with an empty body.
Request
curl -X DELETE https://ranksyapp.com/api/v1/apps/01JN4HKQX0000000000000000/customers/4210/notes/43 \
-H "Authorization: Bearer rk_live_..."
Errors
Beyond the universal 401 / 403 / 422 / 429 (see Errors): a customer that isn't a customer of :app, or a note that is missing or belongs to another customer, returns 404; a request without the crm.access permission (or, on an older key, the crm:read / crm:write scope) returns 403 insufficient_permissions; and a reminder recipient who isn't on your team or has no CRM access returns 422 validation_failed with param assignee_user_id.