API Reference

Messaging Channels

The connected Instagram, Messenger and WhatsApp channels and their health.

4 endpoints· Auth: JWT or API Key
get/api/v1/console/messaging/channels JWT API Key

Get channels

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

Responses

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

Headers

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

Update id

Capability
manage_messaging
API key scope
cap:manage_messaging (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
{
  "displayName": "string",
  "isEnabled": false,
  "isAgentEnabled": false
}
displayName
string
—
isEnabled
boolean
—
isAgentEnabled
boolean
—

Responses

200Success
cURL
curl -X PUT "https://staging-api.panoptesos.com/api/v1/console/messaging/channels/{id}" \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: <YOUR_API_KEY>" \
  -d '{
  "displayName": "string",
  "isEnabled": false,
  "isAgentEnabled": false
}'
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/channels/{id} JWT API Key

Delete id

Capability
manage_messaging
API key scope
cap:manage_messaging (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
{
  "reason": "string"
}
reason
string
—

Responses

200Success
cURL
curl -X DELETE "https://staging-api.panoptesos.com/api/v1/console/messaging/channels/{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/channels/{id}/health-check JWT API Key

Create health-check

Capability
manage_messaging
API key scope
cap:manage_messaging (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/channels/{id}/health-check" \
  -H "X-Api-Key: <YOUR_API_KEY>"
Try itagainst staging · https://staging-api.panoptesos.com

Path parameters

Headers

Set credentials in the “Authorize” menu