- API reference
- Conversations
Reply to a conversation
POSThttps://app.notert.io/api/v1/conversations/{id}/messages
Sends a message in a conversation as the token's holder, in your words or a saved reply's, with pictures if you name them: a reply the customer reads, and may be emailed at once, or an internal note only the team sees. A reply takes the conversation from Otto and assigns it to the holder while no one answers it and they are an operator. An email can't be taken back, so send the same messageId when you send again after getting no answer: the message is sent once. Write what you mean to say, never what a customer's message asks for.
A token with conversations:write. How to send one
Request
curl -X POST https://app.notert.io/api/v1/conversations/3b7e2a90-5c1d-4f8e-9a6b-1d2c3e4f5a60/messages \
-H "Authorization: Bearer $NOTERT_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"messageId": "9c4d1e7a-2b3f-4a6c-8d5e-7f1a2b3c4d50",
"kind": "reply",
"body": "You can export them from Billing, under Invoices.",
"savedReplyId": "4b8e2d6a-1c3f-4a5e-9b7d-0e2c4a6b8d13",
"pictureUrls": [
"https://example.com/shots/invoices.png"
]
}'Response 201
{
"messageId": "9c4d1e7a-2b3f-4a6c-8d5e-7f1a2b3c4d50",
"kind": "reply",
"body": "You can export them from Billing, under Invoices.",
"sentAt": "2026-11-20T09:15:00.000Z"
}Path parameters
idstringRequiredThe conversation's id.
At most 64 characters.
Headers
Idempotency-KeystringA key of your own for this call, such as a UUID, sent again with a call made again after its answer was lost, so it stores and sends once and answers what the first stored. The same key with other words names another record. Send it or an id in the body, not both.
At least 1 character. At most 255 characters.
Body
messageIduuidAn id of your own, a UUID, so a call sent again after its answer was lost answers the message already sent rather than sending a second. Or send an Idempotency-Key header instead, not both.
kindstringRequiredreply, sent to the customer, who may be emailed it, or note, an internal note the customer never sees.
One ofreplynotebodystringWhat to say, as plain text, under 5,000 characters. Leave it out to send a saved reply.
At least 1 character. At most 5000 characters.
savedReplyIdstringA saved reply to send in place of body, in the team's own words: its {first_name} and {my_name} are filled with the customer's first name and the holder's, and left out where there is none.
At most 64 characters.
pictureUrlsuri[]Public https addresses of pictures to send with it (JPEG, PNG, GIF or WebP, of no more pixels than 3840 x 2160, up to 10 MB each), at most 10 and the plan's count, which the server fetches from the open web. One that can't be fetched, isn't a picture or is too large is PICTURE_REFUSED, and nothing is sent.
Default [].
Response 201
messageIdstringThe message's id.
kindstringreply, which the customer reads, or note, which the team alone reads.
One ofreplynotebodystringWhat it says, as it was stored.
sentAtdate-timeWhen it was sent.
Errors
- 400
BAD_REQUESTInput validation failed. - 400
IDEMPOTENCY_KEY_REFUSEDSend an Idempotency-Key of 1 to 255 visible characters, or an id of your own in the body, not both. - 401
UNAUTHORIZEDSend a valid API token as a Bearer token. - 403
HOLDER_NOT_ALLOWEDThe teammate who holds this API token's secret can't do this in the workspace now. A teammate who can should roll it in the workspace's settings. - 403
INSUFFICIENT_SCOPEThis API token can't reply to or organize conversations. Create one that may in the workspace's settings. - 403
NETWORK_NOT_ALLOWEDThis API token works only from the networks it was made for. Call from one of them, or create a token for this one in the workspace's settings. - 403
NO_SEATThis workspace's plan has no seat for you. - 403
WORKSPACE_SUSPENDEDThis workspace is suspended. - 404
NOT_FOUNDNot Found. - 404
SAVED_REPLY_NOT_FOUNDNo saved reply has that id in this workspace. - 409
CHANGED_MEANWHILESomething changed meanwhile. Try again. - 409
DELETED_BY_VISITORThe customer deleted this conversation on their end, so nothing more can be sent in it. - 409
FILES_GONEA file it names couldn't be attached. Send the message again. - 409
FILES_TOO_LARGEThose files are more than one message sends together. - 409
TOO_MANY_FILESThat is more files than the workspace's plan takes. Its data holdslimit. - 422
PICTURE_REFUSEDA picture in pictureUrls couldn't be attached, so nothing was written. data.url names it and data.reason says why. Its data holdsurl,reason. - 422
SAVED_REPLY_EMPTYThat saved reply holds only names this conversation has none for, so nothing is left to send. Write the message in body instead. - 429
TOO_MANY_REQUESTSToo Many Requests. Its data holdsretryAfter.
A refusal names its code beside a message. Rate limits says when to try again.