API Reference
Me Push Devices
4 endpoints· Auth: JWT
get
/api/v1/console/me/push-devices JWTThe caller's live push registrations, most recently refreshed first
- Signed-in user only
- API keys and OAuth tokens are refused (403). Do this in the dashboard.
Responses
200Success
cURL
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/me/push-devices" \
-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/me/push-devices JWTRegister this device's push token, or refresh it (200 either way)
Call on every sign-in, on a token refresh, and on start when the last registration is a day old. `windows` is refused: Windows tills use the in-app inbox only.
- Signed-in user only
- API keys and OAuth tokens are refused (403). Do this in the dashboard.
Request body
application/json
{
"deviceId": "string",
"token": "string",
"platform": "string",
"appVersion": "string",
"locale": "string",
"deviceName": "string"
}| deviceId string | The app's own stable device id, 8–128 of `[A-Za-z0-9._:-]` — the one it signs in with. |
| token string | The FCM registration token, 1–4096 characters. |
| platform string | `android` | `ios` | `web`. `windows` is refused: Windows tills use the inbox only. |
| appVersion string | `MAJOR.MINOR.PATCH[+BUILD]`, at most 40 characters. |
| locale string | `ar` | `en` — the language this device's pushes are written in. |
| deviceName string | A human label for the device, at most 100 characters. |
Responses
200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/me/push-devices" \
-H "Content-Type: application/json" \
-H "X-Api-Key: <YOUR_API_KEY>" \
-d '{
"deviceId": "string",
"token": "string",
"platform": "string",
"appVersion": "string",
"locale": "string",
"deviceName": "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
delete
/api/v1/console/me/push-devices/{deviceId} JWTStop pushes to this device
Idempotent: `removed = false` when nothing was registered.
- Signed-in user only
- API keys and OAuth tokens are refused (403). Do this in the dashboard.
Path parameters
| deviceIdrequired string | — |
Responses
200Success
cURL
curl -X DELETE "https://staging-api.panoptesos.com/api/v1/console/me/push-devices/{deviceId}" \
-H "X-Api-Key: <YOUR_API_KEY>" Try itagainst staging · https://staging-api.panoptesos.com
Path parameters
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/me/push-devices/{deviceId}/test JWTSend a test notification to that one device, ignoring mutes and quiet hours
404 when it is not the caller's; 429 with `Retry-After` more than once a minute.
- Signed-in user only
- API keys and OAuth tokens are refused (403). Do this in the dashboard.
Path parameters
| deviceIdrequired string | — |
Responses
200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/me/push-devices/{deviceId}/test" \
-H "X-Api-Key: <YOUR_API_KEY>" Try itagainst staging · https://staging-api.panoptesos.com
Path parameters
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