API Reference
Meta Connection
Connect or disconnect the Meta business account (signed-in user only).
8 endpoints· Auth: JWT or API Key
get
/api/v1/console/messaging/meta JWT API KeyGet meta
- Capability
manage_messaging- API key scope
cap:manage_messaging(the key's owner must also hold the capability)- Plan feature
messagingmust 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/meta" \
-H "X-Api-Key: <YOUR_API_KEY>" Try itagainst staging · https://staging-api.panoptesos.com
Headers
Set credentials in the “Authorize” menu
delete
/api/v1/console/messaging/meta JWTDelete meta
- Capability
manage_messaging- Signed-in user only
- API keys and OAuth tokens are refused (403). Do this in the dashboard.
- Plan feature
messagingmust be on the branch's plan, or the call answers 403.
Request body
application/json
{
"reason": "string"
}| reason string | — |
Responses
200Success
cURL
curl -X DELETE "https://staging-api.panoptesos.com/api/v1/console/messaging/meta" \
-H "X-Api-Key: <YOUR_API_KEY>" Try itagainst staging · https://staging-api.panoptesos.com
Headers
This action refuses API keys — it needs a signed-in user. Switch to a JWT under Authorize, or do it in the dashboard.
Set credentials in the “Authorize” menu
get
/api/v1/console/messaging/meta/assets JWT API KeyGet assets
- Capability
manage_messaging- API key scope
cap:manage_messaging(the key's owner must also hold the capability)- Plan feature
messagingmust 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/meta/assets" \
-H "X-Api-Key: <YOUR_API_KEY>" Try itagainst staging · https://staging-api.panoptesos.com
Headers
Set credentials in the “Authorize” menu
post
/api/v1/console/messaging/meta/channels JWTCreate channels
- Capability
manage_messaging- Signed-in user only
- API keys and OAuth tokens are refused (403). Do this in the dashboard.
- Plan feature
messagingmust be on the branch's plan, or the call answers 403.
Request body
application/json
{
"channelType": "string",
"pageId": "string",
"instagramAccountId": "string",
"displayName": "string"
}| channelType string | `messenger` | `instagram`. |
| pageId string | The Facebook Page (for Instagram, the Page linked to the account). |
| instagramAccountId string | Instagram only: the Instagram professional account id. Ignored for Messenger. |
| displayName string | — |
Responses
200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/messaging/meta/channels" \
-H "Content-Type: application/json" \
-H "X-Api-Key: <YOUR_API_KEY>" \
-d '{
"channelType": "string",
"pageId": "string",
"instagramAccountId": "string",
"displayName": "string"
}' Try itagainst staging · https://staging-api.panoptesos.com
Request body (JSON)
Headers
This action refuses API keys — it needs a signed-in user. Switch to a JWT under Authorize, or do it in the dashboard.
Set credentials in the “Authorize” menu
post
/api/v1/console/messaging/meta/oauth/start JWTCreate start
- Capability
manage_messaging- Signed-in user only
- API keys and OAuth tokens are refused (403). Do this in the dashboard.
- Plan feature
messagingmust be on the branch's plan, or the call answers 403.
Responses
200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/messaging/meta/oauth/start" \
-H "X-Api-Key: <YOUR_API_KEY>" Try itagainst staging · https://staging-api.panoptesos.com
Headers
This action refuses API keys — it needs a signed-in user. Switch to a JWT under Authorize, or do it in the dashboard.
Set credentials in the “Authorize” menu
post
/api/v1/console/messaging/meta/verify JWT API KeyCreate verify
- Capability
manage_messaging- API key scope
cap:manage_messaging(the key's owner must also hold the capability)- Plan feature
messagingmust be on the branch's plan, or the call answers 403.
Responses
200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/messaging/meta/verify" \
-H "X-Api-Key: <YOUR_API_KEY>" Try itagainst staging · https://staging-api.panoptesos.com
Headers
Set credentials in the “Authorize” menu
post
/api/v1/console/messaging/meta/whatsapp/connect JWTCreate connect
- Capability
manage_messaging- Signed-in user only
- API keys and OAuth tokens are refused (403). Do this in the dashboard.
- Plan feature
messagingmust be on the branch's plan, or the call answers 403.
Request body
application/json
{
"code": "string",
"wabaId": "string",
"phoneNumberId": "string",
"displayName": "string"
}| code string | The authorization code the SDK returned. |
| wabaId string | — |
| phoneNumberId string | — |
| displayName string | — |
Responses
200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/messaging/meta/whatsapp/connect" \
-H "Content-Type: application/json" \
-H "X-Api-Key: <YOUR_API_KEY>" \
-d '{
"code": "string",
"wabaId": "string",
"phoneNumberId": "string",
"displayName": "string"
}' Try itagainst staging · https://staging-api.panoptesos.com
Request body (JSON)
Headers
This action refuses API keys — it needs a signed-in user. Switch to a JWT under Authorize, or do it in the dashboard.
Set credentials in the “Authorize” menu
get
/api/v1/console/messaging/meta/whatsapp/signup-config JWT API KeyGet signup-config
- Capability
manage_messaging- API key scope
cap:manage_messaging(the key's owner must also hold the capability)- Plan feature
messagingmust 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/meta/whatsapp/signup-config" \
-H "X-Api-Key: <YOUR_API_KEY>" Try itagainst staging · https://staging-api.panoptesos.com
Headers
Set credentials in the “Authorize” menu