Skip to content
Docs

External API

Add an internal note

Add a note for your live agents to a livechat or ticket. The customer never sees it.

Adds a note for your live agents to a livechat or ticket – for example, Refund approved in billing or the customer’s account status. The note appears in the conversation in the Inbox, as if a live agent wrote it. The customer never sees it, and it doesn’t change the conversation’s status or who it’s assigned to. Not sure how to send a request? See Make your first request.

Request

Send a POST request to:

https://v3-api.proto.cx/api/platform/v1/conversations/YOUR_TEAMSPACE_ID/YOUR_CONVERSATION_ID/send-internal-note

In the body, send the note and the live agent it’s from. In the address and the body, replace anything starting with YOUR_ with your own – YOUR_CONVERSATION_ID is the livechat’s or ticket’s id:

{
  "user_id": "YOUR_USER_ID",
  "content": "<p>Customer is on the Pro plan – refund approved.</p>"
}
FieldRequiredWhat it is
user_idYesThe user ID of the live agent the note is from, from List users by status
contentYesThe note, as HTML or plain text. It can’t be empty.

The live agent needs permission to manage the conversation. One of these must be true:

  • it’s assigned to them
  • it’s assigned to one of their teams
  • they can manage all livechats or tickets

Unless it’s assigned to them, they also need permission to transfer and take over conversations.

Response

Proto replies 200 OK:

{ "success": true }

success is always true.

Errors

You getWhat it means
400The conversation is resolved or closed, or the user isn’t found or doesn’t have permission.
404content is empty, or no conversation with this ID is in your teamspace.

For errors any request can return, see If something goes wrong.

Stuck? Ask Advisor in the Proto dashboard, or contact us.

© Proto