API Reference

Saved Replies

Reusable replies the team inserts into an inbox conversation.

5 endpoints· Auth: JWT or API Key
get/api/v1/console/messaging/saved-replies JWT API Key

Get saved-replies

Capability
view_inbox
API key scope
cap:view_inbox (the key's owner must also hold the capability)
Plan feature
messaging must be on the branch's plan, or the call answers 403.

Query parameters

Search
string
Matches the title, the shortcut or the body.
Category
string
—

Responses

200Success
cURL
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/messaging/saved-replies" \
  -H "X-Api-Key: <YOUR_API_KEY>"
Try itagainst staging · https://staging-api.panoptesos.com

Query parameters

Headers

Set credentials in the “Authorize” menu
post/api/v1/console/messaging/saved-replies JWT API Key

Create saved-replies

Capability
reply_inbox
API key scope
cap:reply_inbox (the key's owner must also hold the capability)
Plan feature
messaging must be on the branch's plan, or the call answers 403.

Request body

application/json
{
  "title": "string",
  "shortcut": "string",
  "body": "string",
  "category": "string"
}
title
string
1–80 characters.
shortcut
string
1–32 characters of lower-case letters, digits, Arabic letters, `_` and `-`; a leading `/` is dropped.
body
string
1–4,000 characters.
category
string
Up to 60 characters.

Responses

200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/messaging/saved-replies" \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: <YOUR_API_KEY>" \
  -d '{
  "title": "string",
  "shortcut": "string",
  "body": "string",
  "category": "string"
}'
Try itagainst staging · https://staging-api.panoptesos.com

Request body (JSON)

Headers

Set credentials in the “Authorize” menu
put/api/v1/console/messaging/saved-replies/{id} JWT API Key

Update id

Capability
reply_inbox
API key scope
cap:reply_inbox (the key's owner must also hold the capability)
Plan feature
messaging must be on the branch's plan, or the call answers 403.

Path parameters

idrequired
string (uuid)
—

Request body

application/json
{
  "title": "string",
  "shortcut": "string",
  "body": "string",
  "category": "string"
}
title
string
1–80 characters.
shortcut
string
1–32 characters of lower-case letters, digits, Arabic letters, `_` and `-`; a leading `/` is dropped.
body
string
1–4,000 characters.
category
string
Up to 60 characters.

Responses

200Success
cURL
curl -X PUT "https://staging-api.panoptesos.com/api/v1/console/messaging/saved-replies/{id}" \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: <YOUR_API_KEY>" \
  -d '{
  "title": "string",
  "shortcut": "string",
  "body": "string",
  "category": "string"
}'
Try itagainst staging · https://staging-api.panoptesos.com

Path parameters

Request body (JSON)

Headers

Set credentials in the “Authorize” menu
delete/api/v1/console/messaging/saved-replies/{id} JWT API Key

Delete id

Capability
reply_inbox
API key scope
cap:reply_inbox (the key's owner must also hold the capability)
Plan feature
messaging must be on the branch's plan, or the call answers 403.

Path parameters

idrequired
string (uuid)
—

Responses

200Success
cURL
curl -X DELETE "https://staging-api.panoptesos.com/api/v1/console/messaging/saved-replies/{id}" \
  -H "X-Api-Key: <YOUR_API_KEY>"
Try itagainst staging · https://staging-api.panoptesos.com

Path parameters

Headers

Set credentials in the “Authorize” menu
post/api/v1/console/messaging/saved-replies/{id}/used JWT API Key

Counts one use after a client inserted the reply into the composer

Capability
view_inbox
API key scope
cap:view_inbox (the key's owner must also hold the capability)
Plan feature
messaging must be on the branch's plan, or the call answers 403.

Path parameters

idrequired
string (uuid)
—

Responses

200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/messaging/saved-replies/{id}/used" \
  -H "X-Api-Key: <YOUR_API_KEY>"
Try itagainst staging · https://staging-api.panoptesos.com

Path parameters

Headers

Set credentials in the “Authorize” menu