Add an internal note to a thread (ticket)
POST
/openapi/thread/note/{threadId}
const url = 'https://open-api.replyco.com/openapi/thread/note/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json-patch+json'}, body: '{ "note": "Customer called about this order. Refund approved." }'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://open-api.replyco.com/openapi/thread/note/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json-patch+json' \ --data '{ "note": "Customer called about this order. Refund approved." }'Adds a note that only your team can see. It is never sent to the customer. The note’s author is the user making this request, and agents who have the ticket open see the note straight away.
Sample request:
POST /thread/note/3fa85f64-5717-4562-b3fc-2c963f66afa6
{
"note": "Customer called about this order. Refund approved."
}
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”threadId
required
string format: uuid
Thread ID to add the note to
Request Body
Section titled “Request Body”Request containing the note
object
note
required
The note’s text. Can contain basic HTML, which is sanitized before saving.
string
Example
{ "note": "Customer called about this order. Refund approved."}object
note
required
The note’s text. Can contain basic HTML, which is sanitized before saving.
string
Example generated
{ "note": "example"}object
note
required
The note’s text. Can contain basic HTML, which is sanitized before saving.
string
Example generated
{ "note": "example"}object
note
required
The note’s text. Can contain basic HTML, which is sanitized before saving.
string
Example generated
{ "note": "example"}Responses
Section titled “Responses”Note was created
The note is missing or empty. The response body carries the reason in its ‘error’ field
User is not authenticated or authorized
Thread with the specified ID was not found