- API reference
- Guides
Work with conversations through the API
Read your workspace's conversations, reply to customers, start conversations and assign, resolve or snooze them from your own code with an API token.
Last updated Tuesday, December 1st, 2026
View as MarkdownOn this page
A token can connect your support tooling to your inbox: it reads conversations, replies to customers, starts conversations by email, and assigns, resolves or snoozes them. Every write is made as the teammate who holds the token, and a reply reaches the customer as that teammate's would. Calls are authenticated and paced as reading your workspace describes.
Permissions
Pick these under Permissions, in the Conversations area, as you create the token:
| Endpoint | Permission | Does |
|---|---|---|
GET /conversations | conversations:read | Lists and searches conversations |
GET /conversations/{id} | conversations:read | Reads one, with its newest messages |
GET /conversations/{id}/messages | conversations:read | Pages through a conversation's messages |
GET /operators | conversations:read | Lists the teammates who answer conversations |
POST /conversations/{id}/messages | conversations:write | Replies, or adds an internal note |
PATCH /conversations/{id}/messages/{messageId} | conversations:write | Edits a reply or note the token's holder sent |
POST /conversations | conversations:write | Starts a conversation with a customer by email |
PATCH /conversations/{id} | conversations:write | Assigns, resolves, reopens, snoozes or moves it |
POST /conversations/resolve | conversations:write | Resolves up to 100 at once |
POST /conversations/mark | conversations:write | Marks up to 100 read or unread for the team |
POST /conversations/{id}/requests | conversations:write | Links a request to it |
DELETE /conversations/{id}/requests/{requestId} | conversations:write | Unlinks a request |
GET /saved-replies | conversations:read | Lists and searches your team's saved replies |
POST /saved-replies | conversations:write | Saves a reply |
PATCH /saved-replies/{id} | conversations:write | Changes a saved reply's title or words |
DELETE /saved-replies/{id} | conversations:write | Deletes a saved reply |
A reply or a new conversation reaches your customer, often by email, and can't be taken back, so conversations:write is worth giving only to a token whose code you trust to send.
Read the inbox
GET /conversations lists conversations as the inbox does, latest activity first, a page at a time with limit and cursor. Narrow it with any of these:
| Parameter | Lists |
|---|---|
view | One of the inbox's views: queue, open, all (the default), unread, snoozed, resolved, spam or archived |
assigneeId | One operator's conversations, by their m_ id from GET /operators |
assignee=unassigned | Conversations no one has |
customerId | One customer's, by their c_ id |
requestId | Those that asked for a request or one merged into it, by its id or its key, such as REQ-44 |
customer | paying or trial for customers your billing marks so |
query | Words in what was said, or in the customer's name |
activeAfter, activeBefore | Active within a stretch, each a moment such as 2026-11-01T00:00:00Z |
sort | latest (the default) or oldest |
curl "https://app.notert.io/api/v1/conversations?view=queue&assignee=unassigned" \
-H "Authorization: Bearer $NOTERT_API_TOKEN"{
"items": [
{
"id": "4b5c6d7e-8f9a-4b0c-9d1e-2f3a4b5c6d7e",
"customerId": "c_a4c6e8f0-2b1d-4f3a-9c5e-7d9b1f3a5c70",
"customerName": "Priya Shah",
"customerAlias": null,
"excerpt": "Is there a way to export our requests?",
"status": "open",
"folder": "inbox",
"unread": true,
"otto": false,
"snoozedUntil": null,
"assigneeId": null,
"assigneeName": null,
"plan": "Pro",
"lastActivityAt": "2026-11-22T08:12:40.031Z"
}
],
"nextCursor": null
}customerId is the customer's contact, and for someone who wrote by email, the contact who has that address, as starting a conversation names them. It's null for a visitor Notert keeps no contact for. customerName is the name your team knows them by, empty while they gave none; then customerAlias holds the name the inbox gave them, such as Calm Otter, which isn't theirs, so don't greet them by it. GET /conversations/{id} answers one with where it stands, who it's with, its linked requests and the newest page of its thread under messages, newest first. Each message says who it's from (customer, teammate, otto or auto), its kind (reply or note) and, for a reply in a conversation that came by email, its emailStatus. GET /conversations/{id}/messages pages further back with olderMessagesCursor as cursor, or answers only what came after a moment with since.
Reply
POST /conversations/{id}/messages takes kind, either reply, which the customer sees, or note, which only your team sees, and body. Send a messageId of your own, a UUID, or an Idempotency-Key header, so a retry after a lost answer sends once rather than emailing the customer twice.
curl https://app.notert.io/api/v1/conversations/$CONVERSATION_ID/messages \
-H "Authorization: Bearer $NOTERT_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"messageId": "5e3c1a2b-7d4f-4e6a-8b9c-0d1e2f3a4b5c",
"kind": "reply",
"body": "Thanks, that is fixed now."
}'It answers the message it stored:
{
"messageId": "5e3c1a2b-7d4f-4e6a-8b9c-0d1e2f3a4b5c",
"kind": "reply",
"body": "Thanks, that is fixed now.",
"sentAt": "2026-11-22T10:20:03.114Z"
}To answer in your team's own words, send a savedReplyId from GET /saved-replies in place of body. Its {first_name} and {my_name} are filled with the customer's first name and the token holder's, as the inbox fills them, and left out where there is none.
PATCH /conversations/{id}/messages/{messageId} replaces the body of a reply or note the token's holder sent, as the inbox's edit does. A note keeps mentioning a teammate whose @name it still writes, and a reply that was already emailed keeps what the email said. Another teammate's message is refused with NOT_ALLOWED, and a message left with no text and no files with NO_CONTENT. Send removeAttachmentIds, the attachmentIds the thread lists, to take files off it, with or without a new body; left out, body stays as it is. A file that isn't on the message answers UNKNOWN_FILES, with the ids in data.attachmentIds, and nothing changes. The answer says whether anything changed in edited, and how many files it took off in removedAttachments.
Start a conversation
POST /conversations writes to a customer by their customerId, a c_ person id from GET /people, or by an email address, never both, with the first message's body. Send an id of your own, or an Idempotency-Key header, so a retry starts one conversation. An address that bounces, asked not to be emailed or that your team blocked is refused, with a message that says which.
Send pictures
A reply and a new conversation take pictureUrls, the public https addresses of up to 10 pictures, which Notert fetches and sends with the message. Reading the conversation lists each message's pictures and files under attachments, each with its name, content type, size and an address that opens until the end of the next day, so download what you want to keep. url is null while a document is still being checked for safety. Each can be a JPEG, PNG, GIF or WebP of up to 10 MB and no more pixels than 3840 x 2160. The pictures come whole or not at all: a link that can't be fetched, isn't a picture or is too large answers PICTURE_REFUSED, with the link in data.url and why in data.reason, and nothing is sent. Only send addresses you trust: Notert fetches each from the open web, up to 60 an hour for each token.
Assign, resolve and snooze
PATCH /conversations/{id} changes any of assigneeId, an operator's m_ id from GET /operators or null, status (open or resolved), folder (inbox, archived or spam) and snoozedUntil. To resolve, archive, mark as spam or snooze, send seenAt, the sentAt of the newest message you read: if the customer wrote again since, the change is refused with 409 NEW_MESSAGE, so nothing is closed over a message nobody read. Read the conversation again, then send the change with the new seenAt.
curl -X PATCH https://app.notert.io/api/v1/conversations/$CONVERSATION_ID \
-H "Authorization: Bearer $NOTERT_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{ "status": "resolved", "seenAt": "2026-11-22T10:20:03.114Z" }'Assigning or reopening needs no seenAt. A snoozed conversation stays in the inbox, so a call snoozes it or moves it to another folder, not both. An assigneeId who doesn't answer conversations is refused with NOT_AN_OPERATOR.
To act on several at once, as the inbox does over a selection, POST /conversations/resolve takes conversations, up to 100, each with its id and the seenAt you read it up to, and resolves them together in one transaction. One whose customer wrote after its seenAt stays open, one already resolved stays so, and an id the workspace doesn't have is passed over; the answer names each one's status now. POST /conversations/mark marks up to 100 read or unread for the team: send unread as true or false and the same list, where marking read needs each one's seenAt and reads it only that far, so a conversation whose customer wrote since stays unread. The answer names the conversations it marked.
Saved replies
Saved replies are your team's answers it sends again and again, the same ones the inbox offers. A token held by any teammate may add, change or delete one. POST /saved-replies takes a title, the workspace's once in any case, and a body; send an id of your own so a retry saves one. The same id sent with another title or body is refused with 409 ID_TAKEN. PATCH /saved-replies/{id} changes the title, the body or both and keeps what you leave out. A deleted saved reply is gone, so DELETE /saved-replies/{id} sent again answers NOT_FOUND.