HTTP API: apps, push, attestation and crashes
Registered iOS and Android apps, push credentials, devices, topics and sends, app attestation and your apps' crash reports.
Mobile features over HTTP: registered apps, push notifications, app attestation, signed-in devices and crash reports. The SDKs wrap the app-side calls (Mobile apps).
| Base URL | https://<project-ref>.sovarias.in — your project URL from Connect. |
| Keys | Send the project's key as apikey. Calls made for a signed-in user also send Authorization: Bearer <access token>. |
| Errors | A status code and {"detail": …} — a sentence, or {code, message} for errors your code may branch on (HTTP API). |
#Registered apps
GET/api/v1/projects/{project_id}/mobile/apps
The project's registered iOS and Android apps (for sign-in deep links and universal/app links).
Registered apps are published in the project's /.well-known/apple-app-site-association and /.well-known/assetlinks.json, so links to <project URL>/auth/v1/app-callback open your app (Sign-in for mobile apps).
- Who
- A project owner or admin.
Path parameters
project_idstringrequired- The project.
Responses
- 200Success.
- 401No valid session or key.
curl -s "$URL/api/v1/projects/f0c3e9a2-1b4d-4e7f-8a6c-2d9b5e3f1a07/mobile/apps" \
-H "apikey: $ANON_KEY" \
-H "Authorization: Bearer $ACCESS_TOKEN"Response
{
"apps": [
{
"id": "a3c1…",
"platform": "ios",
"name": "Skolist iOS",
"created_at": "2026-10-05T09:00:00+00:00",
"updated_at": "2026-10-05T09:00:00+00:00",
"bundle_id": "com.skolist.shop",
"team_id": "ABCDE12345",
"redirect_uris": [
"skolist://auth-callback"
]
},
{
"id": "b7d2…",
"platform": "android",
"name": "Skolist Android",
"created_at": "2026-10-05T09:05:00+00:00",
"updated_at": "2026-10-05T09:05:00+00:00",
"package_name": "com.skolist.shop",
"sha256_cert_fingerprints": [
"14:6D:E9:83:C5:73:06:50:D8:EE:B9:95:2F:34:FC:64:16:A0:83:42:E6:1D:BE:A8:8A:04:96:B2:3F:CF:44:E5"
],
"redirect_uris": [
"skolist://auth-callback"
]
}
],
"app_callback_path": "/auth/v1/app-callback"
}POST/api/v1/projects/{project_id}/mobile/apps
Register an iOS or Android app.
- Who
- A project owner or admin.
Path parameters
project_idstringrequired- The project.
Body
platformstringrequired- One of
ios,android namestringoptionalbundle_idstringoptional- iOS:
com.example.app. team_idstringoptional- iOS: your 10-character Apple Team ID.
package_namestringoptional- Android:
com.example.app. sha256_cert_fingerprintsarray<string>optional- Android: signing certificate SHA-256 fingerprints.
redirect_urisarray<string>optional- Custom-scheme URLs sign-in may return to (
skolist://auth-callback).
Responses
- 201Created.
- 400
bundle_id/team_id/package_namedon't look right, or too many fingerprints or redirect URIs. - 401No valid session or key.
curl -s -X POST "$URL/api/v1/projects/f0c3e9a2-1b4d-4e7f-8a6c-2d9b5e3f1a07/mobile/apps" \
-H "apikey: $ANON_KEY" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d '{"platform": "ios", "name": "Skolist iOS", "bundle_id": "com.skolist.shop", "team_id": "ABCDE12345", "redirect_uris": ["skolist://auth-callback"]}'Response
{
"id": "a3c1…",
"platform": "ios",
"name": "Skolist iOS",
"created_at": "2026-10-05T09:00:00+00:00",
"updated_at": "2026-10-05T09:00:00+00:00",
"bundle_id": "com.skolist.shop",
"team_id": "ABCDE12345",
"redirect_uris": [
"skolist://auth-callback"
]
}PATCH/api/v1/projects/{project_id}/mobile/apps/{app_id}
Change a registered app.
- Who
- A project owner or admin.
Path parameters
app_idstringrequired- The app.
project_idstringrequired- The project.
Body
platformstring | nulloptional- Platform.
namestring | nulloptional- Name.
- 0–64 characters
bundle_idstring | nulloptional- Bundle id.
- 0–155 characters
team_idstring | nulloptional- Team id.
- 0–10 characters
package_namestring | nulloptional- Package.
- 0–255 characters
sha256_cert_fingerprintsarray<string> | nulloptional- Fingerprints.
redirect_urisarray<string> | nulloptional- Redirect URIs.
Responses
- 200The app.
- 401No valid session or key.
- 422The body is missing a required field or has a field of the wrong type.
curl -s -X PATCH "$URL/api/v1/projects/f0c3e9a2-1b4d-4e7f-8a6c-2d9b5e3f1a07/mobile/apps/a3c1…" \
-H "apikey: $ANON_KEY" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d '{"redirect_uris": ["skolist://auth-callback", "skolist-dev://auth-callback"]}'DELETE/api/v1/projects/{project_id}/mobile/apps/{app_id}
Remove a registered app.
- Who
- A project owner or admin.
Path parameters
app_idstringrequired- The app.
project_idstringrequired- The project.
Responses
- 204Success, with no body.
- 401No valid session or key.
curl -s -X DELETE "$URL/api/v1/projects/f0c3e9a2-1b4d-4e7f-8a6c-2d9b5e3f1a07/mobile/apps/a3c1…" \
-H "apikey: $ANON_KEY" \
-H "Authorization: Bearer $ACCESS_TOKEN"#Push notifications
GET/api/v1/projects/{project_id}/push/credentials
Which push providers are set up (FCM, APNs) — never the keys.
- Who
- A project owner or admin.
Path parameters
project_idstringrequired- The project.
Responses
- 200Success.
- 401No valid session or key.
curl -s "$URL/api/v1/projects/f0c3e9a2-1b4d-4e7f-8a6c-2d9b5e3f1a07/push/credentials" \
-H "apikey: $ANON_KEY" \
-H "Authorization: Bearer $ACCESS_TOKEN"Response
{
"fcm": {
"project_id": "skolist-shop-1a2b3",
"client_email": "firebase-adminsdk-x1@skolist-shop-1a2b3.iam.gserviceaccount.com",
"uploaded_at": "2026-10-06T10:00:00+00:00",
"uploaded_by": "ana@skolist.com"
},
"apns": {
"key_id": "AB12CD34EF",
"team_id": "ABCDE12345",
"bundle_id": "com.skolist.shop",
"environment": "production",
"uploaded_at": "2026-10-06T10:05:00+00:00",
"uploaded_by": "ana@skolist.com"
},
"disabled_by_staff": false
}PUT/api/v1/projects/{project_id}/push/credentials/fcm
Upload the Firebase service account used to send through FCM (Android, web, and iOS via Firebase).
- Who
- A project owner or admin (not a key).
Path parameters
project_idstringrequired- The project.
Body
service_accountobject | stringrequired- The service-account JSON from Firebase (object or string).
Responses
- 200The same shape as GET.
- 400Not a valid service account.
- 401No valid session or key.
- 422The body is missing a required field or has a field of the wrong type.
curl -s -X PUT "$URL/api/v1/projects/f0c3e9a2-1b4d-4e7f-8a6c-2d9b5e3f1a07/push/credentials/fcm" \
-H "apikey: $ANON_KEY" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d '{"service_account": {"type": "service_account", "project_id": "skolist-shop-1a2b3", "private_key": "-----BEGIN PRIVATE KEY-----\n…", "client_email": "firebase-adminsdk-x1@…"}}'PUT/api/v1/projects/{project_id}/push/credentials/apns
Upload the Apple Push key (.p8) used to send to iOS directly.
- Who
- A project owner or admin (not a key).
Path parameters
project_idstringrequired- The project.
Body
p8stringrequired- The contents of
AuthKey_XXXX.p8. - 100–4,096 characters
key_idstringrequired- Its 10-character key id.
- 10–10 characters
team_idstringrequired- Your 10-character Team ID.
- 10–10 characters
bundle_idstringrequired- The app's bundle id.
- 3–155 characters
environmentstringoptionaldefaultproductionproduction, orsandboxfor development builds.
Responses
- 200The same shape as GET.
- 401No valid session or key.
- 422The body is missing a required field or has a field of the wrong type.
curl -s -X PUT "$URL/api/v1/projects/f0c3e9a2-1b4d-4e7f-8a6c-2d9b5e3f1a07/push/credentials/apns" \
-H "apikey: $ANON_KEY" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d '{"p8": "-----BEGIN PRIVATE KEY-----\nMIGT…\n-----END PRIVATE KEY-----", "key_id": "AB12CD34EF", "team_id": "ABCDE12345", "bundle_id": "com.skolist.shop", "environment": "production"}'DELETE/api/v1/projects/{project_id}/push/credentials/{provider}
Remove FCM or APNs credentials.
- Who
- A project owner or admin (not a key).
Path parameters
providerstringrequiredfcmorapns.project_idstringrequired- The project.
Responses
- 200The same shape as GET.
- 401No valid session or key.
curl -s -X DELETE "$URL/api/v1/projects/f0c3e9a2-1b4d-4e7f-8a6c-2d9b5e3f1a07/push/credentials/apns" \
-H "apikey: $ANON_KEY" \
-H "Authorization: Bearer $ACCESS_TOKEN"GET/api/v1/projects/{project_id}/push/devices
Devices registered for push in the project.
- Who
- A project owner or admin (sending and reading also accept the service-role key).
Path parameters
project_idstringrequired- The project.
Query parameters
user_idstring | nulloptional- One user's devices.
limitintegeroptionaldefault100- How many (1–500).
- 1–500
beforestring | nulloptional- Older than this time (from
next_before).
Returns
token_hintstring- The start of the token's hash (the token itself is never returned).
activebooleanfalseonce the provider said the token is gone (it is then pruned).topicsarray<string>- Topics it receives (up to 50).
Responses
- 200Success.
- 401No valid session or key.
curl -s "$URL/api/v1/projects/f0c3e9a2-1b4d-4e7f-8a6c-2d9b5e3f1a07/push/devices" \
-H "apikey: $ANON_KEY" \
-H "Authorization: Bearer $ACCESS_TOKEN"Response
{
"devices": [
{
"id": "5e0a…",
"user_id": "3c8f1e2a-9b47-4d6e-a5c1-7f0e2d4b8a93",
"device_id": "f1d2c3…",
"platform": "ios",
"provider": "apns",
"app_id": "com.skolist.shop",
"topics": [
"orders",
"promos"
],
"locale": "en-IN",
"token_hint": "9a3f61c2",
"active": true,
"last_error": null,
"created_at": "2026-10-10T08:00:00+00:00",
"last_seen_at": "2026-10-18T07:30:00+00:00"
}
],
"active_by_platform": {
"ios": 812,
"android": 1404
},
"next_before": "2026-10-11T06:12:00+00:00"
}POST/api/v1/projects/{project_id}/push/send
Send a push notification to users, devices or a topic.
Recipients: to.user_ids, to.device_ids or to.topic. Tokens the provider reports as gone are pruned. dry_run counts recipients without sending. Recipients per send are limited by the plan (push.max_recipients_per_send). The payload (as APNs sees it) must stay under 4 KB (Push notifications).
- Who
- A project owner or admin (sending and reading also accept the service-role key).
Path parameters
project_idstringrequired- The project.
Body
toobjectrequired3 fields
user_idsarray<string>optionaldevice_idsarray<string>optionaltopicstringoptional
notificationobjectoptional3 fields
titlestringoptional- up to 200 characters
bodystringoptional- up to 2000 characters
imagestringoptional- An https URL.
dataobject<string, any>optional- Custom key/values for the app (non-strings are sent as JSON).
badgeintegeroptional- 0–99999
soundstringoptionalprioritystringoptionaldefaulthigh- One of
high,normal ttl_secondsintegeroptional- 0–2419200 (28 days)
collapse_keystringoptionalcontent_availablebooleanoptional- A silent background update.
mutable_contentbooleanoptionalandroid_channel_idstringoptionalthread_idstringoptionaldry_runbooleanoptional
Returns
requested, sent, failed, prunedinteger- Devices targeted, delivered to the provider, failed, and removed as no longer valid.
errorsobject- Error code → count.
Responses
- 200Success.
- 422No title, body, data or
content_available; or an invalid field. - 413The payload is over 4 KB.
- 403
PUSH_DISABLEDby Sovaria support, or more recipients than the plan allows. - 401No valid session or key.
curl -s -X POST "$URL/api/v1/projects/f0c3e9a2-1b4d-4e7f-8a6c-2d9b5e3f1a07/push/send" \
-H "apikey: $ANON_KEY" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d '{"to": {"user_ids": ["3c8f1e2a-9b47-4d6e-a5c1-7f0e2d4b8a93"]}, "notification": {"title": "Your order shipped", "body": "Order #1042 is on its way."}, "data": {"order_id": "1042"}}'Response
{
"id": "7f30…",
"requested": 2,
"sent": 2,
"failed": 0,
"pruned": 0,
"dry_run": false,
"errors": {}
}GET/api/v1/projects/{project_id}/push/sends
Recent push sends and this month's totals.
- Who
- A project owner or admin (sending and reading also accept the service-role key).
Path parameters
project_idstringrequired- The project.
Query parameters
limitintegeroptionaldefault50- How many (1–200).
- 1–200
Responses
- 200Success.
- 401No valid session or key.
curl -s "$URL/api/v1/projects/f0c3e9a2-1b4d-4e7f-8a6c-2d9b5e3f1a07/push/sends" \
-H "apikey: $ANON_KEY" \
-H "Authorization: Bearer $ACCESS_TOKEN"Response
{
"sends": [
{
"id": "7f30…",
"actor": "ana@skolist.com",
"target": "users",
"requested": 2,
"sent": 2,
"failed": 0,
"pruned": 0,
"dry_run": false,
"errors": {},
"created_at": "2026-10-18T08:00:00+00:00"
}
],
"this_month": {
"sent": 18420,
"failed": 31,
"sends": 214
}
}#Devices (from your app)
Called by your app as the signed-in user.
POST/api/v1/push/devices
Register this device's push token for the signed-in user.
Call after sign-in and whenever the token changes; the same token again just updates it. Signing the device out removes its tokens.
- Who
- A signed-in app user:
Authorization: Bearer <access token>, plus the project'sapikey.
Body
tokenstringrequired- The FCM registration token, or the APNs device token (hex).
- 16–4,096 characters
platformstringrequiredios,androidorweb.providerstring | nulloptionalfcmorapns(default:apnsfor a hex iOS token, elsefcm).device_idstring | nulloptional- The app's device id (the SDK's
X-Sovaria-Device-ID). - 0–128 characters
app_idstring | nulloptional- Registered app id or bundle id.
- 0–64 characters
topicsarray<string> | nulloptional- Topics to receive.
localestring | nulloptional- e.g.
en-IN. - 0–16 characters
Returns
token_hintstring- The start of the token's hash (the token itself is never returned).
activebooleanfalseonce the provider said the token is gone (it is then pruned).topicsarray<string>- Topics it receives (up to 50).
Responses
- 201Created.
- 401No signed-in user.
- 403Only app users register push tokens.
- 422Not a push token, or an unknown platform/provider.
curl -s -X POST "$URL/api/v1/push/devices" \
-H "apikey: $ANON_KEY" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d '{"token": "9a3f61c2…(64 hex)", "platform": "ios", "device_id": "f1d2c3…", "app_id": "com.skolist.shop", "topics": ["orders"], "locale": "en-IN"}'Response
{
"id": "5e0a…",
"user_id": "3c8f1e2a-9b47-4d6e-a5c1-7f0e2d4b8a93",
"device_id": "f1d2c3…",
"platform": "ios",
"provider": "apns",
"app_id": "com.skolist.shop",
"topics": [
"orders",
"promos"
],
"locale": "en-IN",
"token_hint": "9a3f61c2",
"active": true,
"last_error": null,
"created_at": "2026-10-10T08:00:00+00:00",
"last_seen_at": "2026-10-18T07:30:00+00:00"
}GET/api/v1/push/devices
The signed-in user's registered devices.
- Who
- A signed-in app user:
Authorization: Bearer <access token>, plus the project'sapikey.
Responses
- 200Success.
- 401No valid session or key.
curl -s "$URL/api/v1/push/devices" \
-H "apikey: $ANON_KEY" \
-H "Authorization: Bearer $ACCESS_TOKEN"Response
{
"devices": [
{
"id": "5e0a…",
"user_id": "3c8f1e2a-9b47-4d6e-a5c1-7f0e2d4b8a93",
"device_id": "f1d2c3…",
"platform": "ios",
"provider": "apns",
"app_id": "com.skolist.shop",
"topics": [
"orders",
"promos"
],
"locale": "en-IN",
"token_hint": "9a3f61c2",
"active": true,
"last_error": null,
"created_at": "2026-10-10T08:00:00+00:00",
"last_seen_at": "2026-10-18T07:30:00+00:00"
}
]
}PATCH/api/v1/push/devices/{row_id}/topics
Subscribe a device to topics, unsubscribe, or replace its topics.
- Who
- A signed-in app user:
Authorization: Bearer <access token>, plus the project'sapikey.
Path parameters
row_idstringrequired- The device's
id.
Body
subscribearray<string> | nulloptional- Topics to add.
unsubscribearray<string> | nulloptional- Topics to remove.
replacearray<string> | nulloptional- The full new list.
Responses
- 200Success.
- 401No valid session or key.
- 422The body is missing a required field or has a field of the wrong type.
curl -s -X PATCH "$URL/api/v1/push/devices/5e0a…/topics" \
-H "apikey: $ANON_KEY" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d '{"subscribe": ["promos"]}'Response
{
"id": "5e0a…",
"user_id": "3c8f1e2a-9b47-4d6e-a5c1-7f0e2d4b8a93",
"device_id": "f1d2c3…",
"platform": "ios",
"provider": "apns",
"app_id": "com.skolist.shop",
"topics": [
"orders",
"promos"
],
"locale": "en-IN",
"token_hint": "9a3f61c2",
"active": true,
"last_error": null,
"created_at": "2026-10-10T08:00:00+00:00",
"last_seen_at": "2026-10-18T07:30:00+00:00"
}DELETE/api/v1/push/devices/{row_id}
Remove one of the user's devices.
- Who
- A signed-in app user:
Authorization: Bearer <access token>, plus the project'sapikey.
Path parameters
row_idstringrequired- The device.
Responses
- 204Success, with no body.
- 404Not one of the user's devices.
- 401No valid session or key.
curl -s -X DELETE "$URL/api/v1/push/devices/5e0a…" \
-H "apikey: $ANON_KEY" \
-H "Authorization: Bearer $ACCESS_TOKEN"POST/api/v1/push/devices/unregister
Drop a push token (sign-out, notifications turned off). Safe to repeat.
- Who
- A signed-in app user:
Authorization: Bearer <access token>, plus the project'sapikey.
Body
tokenstringrequired- The token.
- 16–4,096 characters
Responses
- 200Success.
- 401No valid session or key.
- 422The body is missing a required field or has a field of the wrong type.
curl -s -X POST "$URL/api/v1/push/devices/unregister" \
-H "apikey: $ANON_KEY" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d '{"token": "9a3f61c2…"}'Response
{
"removed": 1
}#A user's devices
GET/api/v1/projects/{project_id}/users/{user_id}/devices
Where an app user is signed in, and their push devices.
- Who
- A project owner or admin.
Path parameters
user_idstringrequired- The user.
project_idstringrequired- The project.
Responses
- 200Success.
- 401No valid session or key.
curl -s "$URL/api/v1/projects/f0c3e9a2-1b4d-4e7f-8a6c-2d9b5e3f1a07/users/3c8f1e2a-9b47-4d6e-a5c1-7f0e2d4b8a93/devices" \
-H "apikey: $ANON_KEY" \
-H "Authorization: Bearer $ACCESS_TOKEN"Response
{
"devices": [
{
"device_id": "f1d2c3…",
"name": "iPhone 15",
"platform": "ios",
"app_version": "2.4.0",
"ip": "203.0.113.24",
"user_agent": "Skolist/2.4.0 (iPhone; iOS 18.1)",
"last_active_at": "2026-10-18T07:30:00+00:00",
"session_ids": [
"9f1c…"
],
"current": false
}
],
"push_devices": [
{
"id": "5e0a…",
"user_id": "3c8f1e2a-9b47-4d6e-a5c1-7f0e2d4b8a93",
"device_id": "f1d2c3…",
"platform": "ios",
"provider": "apns",
"app_id": "com.skolist.shop",
"topics": [
"orders",
"promos"
],
"locale": "en-IN",
"token_hint": "9a3f61c2",
"active": true,
"last_error": null,
"created_at": "2026-10-10T08:00:00+00:00",
"last_seen_at": "2026-10-18T07:30:00+00:00"
}
]
}DELETE/api/v1/projects/{project_id}/users/{user_id}/devices/{device_id}
Sign an app user out of one device: its sessions end and its push tokens are removed.
- Who
- A project owner or admin.
Path parameters
user_idstringrequired- The user.
device_idstringrequired- The device.
project_idstringrequired- The project.
Responses
- 200Success.
- 401No valid session or key.
curl -s -X DELETE "$URL/api/v1/projects/f0c3e9a2-1b4d-4e7f-8a6c-2d9b5e3f1a07/users/3c8f1e2a-9b47-4d6e-a5c1-7f0e2d4b8a93/devices/f1d2c3…" \
-H "apikey: $ANON_KEY" \
-H "Authorization: Bearer $ACCESS_TOKEN"Response
{
"sessions_ended": 1,
"push_tokens_removed": 1
}#App attestation
GET/api/v1/projects/{project_id}/attestation
App attestation settings: whether requests must come from your genuine app.
- Who
- A project owner or admin.
Path parameters
project_idstringrequired- The project.
Returns
modestringoff,monitor(check and log) orenforce(refuse requests without a valid attestation token).effectiveModestring- What applies now (the plan or Sovaria support can turn it off).
availableboolean- In the plan (
auth.app_attestation).
Responses
- 200Success.
- 401No valid session or key.
curl -s "$URL/api/v1/projects/f0c3e9a2-1b4d-4e7f-8a6c-2d9b5e3f1a07/attestation" \
-H "apikey: $ANON_KEY" \
-H "Authorization: Bearer $ACCESS_TOKEN"Response
{
"mode": "monitor",
"tokenTtlSeconds": 3600,
"providers": {
"play_integrity": true,
"app_attest": true,
"device_check": false
},
"playIntegrity": {
"requirePlayRecognized": true,
"requireDeviceIntegrity": true
},
"appAttest": {
"allowDevelopment": false
},
"debugTokens": [
{
"id": "d9e1…",
"name": "Simulator",
"created_at": "2026-10-07T12:00:00+00:00",
"created_by": "ana@skolist.com"
}
],
"credentials": {
"google": {
"project_id": "skolist-shop-1a2b3",
"client_email": "integrity@skolist-shop-1a2b3.iam.gserviceaccount.com",
"uploaded_at": "2026-10-07T11:00:00+00:00"
},
"apple": null
},
"effectiveMode": "monitor",
"available": true
}PUT/api/v1/projects/{project_id}/attestation
Change app attestation settings.
- Who
- A project owner or admin.
Path parameters
project_idstringrequired- The project.
Body
modestringoptional- One of
off,monitor,enforce tokenTtlSecondsintegeroptional- How long an attestation token lasts.
providersobjectoptionalplay_integrity,app_attest,device_checkon/off.playIntegrityobjectoptionalrequirePlayRecognized,requireDeviceIntegrity.appAttestobjectoptionalallowDevelopment.
Responses
- 200Success.
- 401No valid session or key.
curl -s -X PUT "$URL/api/v1/projects/f0c3e9a2-1b4d-4e7f-8a6c-2d9b5e3f1a07/attestation" \
-H "apikey: $ANON_KEY" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d '{"mode": "enforce"}'Response
{
"mode": "enforce",
"tokenTtlSeconds": 3600,
"providers": {
"play_integrity": true,
"app_attest": true,
"device_check": false
},
"playIntegrity": {
"requirePlayRecognized": true,
"requireDeviceIntegrity": true
},
"appAttest": {
"allowDevelopment": false
},
"debugTokens": [
{
"id": "d9e1…",
"name": "Simulator",
"created_at": "2026-10-07T12:00:00+00:00",
"created_by": "ana@skolist.com"
}
],
"credentials": {
"google": {
"project_id": "skolist-shop-1a2b3",
"client_email": "integrity@skolist-shop-1a2b3.iam.gserviceaccount.com",
"uploaded_at": "2026-10-07T11:00:00+00:00"
},
"apple": null
},
"effectiveMode": "enforce",
"available": true
}PUT/api/v1/projects/{project_id}/attestation/credentials/google
Upload the Google service account that verifies Play Integrity tokens.
- Who
- A project owner or admin.
Path parameters
project_idstringrequired- The project.
Body
service_accountobject | stringrequired- Service-account JSON with Play Integrity access.
Responses
- 200The settings, as in GET.
- 401No valid session or key.
- 422The body is missing a required field or has a field of the wrong type.
curl -s -X PUT "$URL/api/v1/projects/f0c3e9a2-1b4d-4e7f-8a6c-2d9b5e3f1a07/attestation/credentials/google" \
-H "apikey: $ANON_KEY" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d '{"service_account": {"type": "service_account", "client_email": "integrity@…", "private_key": "-----BEGIN PRIVATE KEY-----\n…"}}'PUT/api/v1/projects/{project_id}/attestation/credentials/apple
Upload the Apple key that verifies DeviceCheck tokens.
- Who
- A project owner or admin.
Path parameters
project_idstringrequired- The project.
Body
p8stringrequired- The .p8 key.
- 100–4,096 characters
key_idstringrequired- Its key id.
- 10–10 characters
team_idstringrequired- Your Team ID.
- 10–10 characters
Responses
- 200The settings, as in GET.
- 401No valid session or key.
- 422The body is missing a required field or has a field of the wrong type.
curl -s -X PUT "$URL/api/v1/projects/f0c3e9a2-1b4d-4e7f-8a6c-2d9b5e3f1a07/attestation/credentials/apple" \
-H "apikey: $ANON_KEY" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d '{"p8": "-----BEGIN PRIVATE KEY-----\n…", "key_id": "XY98ZW76VU", "team_id": "ABCDE12345"}'DELETE/api/v1/projects/{project_id}/attestation/credentials/{which}
Remove the Google or Apple attestation credentials.
- Who
- A project owner or admin.
Path parameters
whichstringrequiredgoogleorapple.project_idstringrequired- The project.
Responses
- 200The settings, as in GET.
- 401No valid session or key.
curl -s -X DELETE "$URL/api/v1/projects/f0c3e9a2-1b4d-4e7f-8a6c-2d9b5e3f1a07/attestation/credentials/apple" \
-H "apikey: $ANON_KEY" \
-H "Authorization: Bearer $ACCESS_TOKEN"POST/api/v1/projects/{project_id}/attestation/debug-tokens
Create a debug token so simulators and test builds pass attestation. Shown once.
- Who
- A project owner or admin.
Path parameters
project_idstringrequired- The project.
Body
namestringoptionaldefaultDebug token- A label.
- 0–64 characters
ttl_daysinteger | nulloptional- Expires after this many days (default 90)
- 1.0–365.0
Responses
- 201Created.
- 409Already 20 debug tokens; delete one first.
- 401No valid session or key.
- 422The body is missing a required field or has a field of the wrong type.
curl -s -X POST "$URL/api/v1/projects/f0c3e9a2-1b4d-4e7f-8a6c-2d9b5e3f1a07/attestation/debug-tokens" \
-H "apikey: $ANON_KEY" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d '{"name": "CI simulator"}'Response
{
"id": "d9e2…",
"name": "CI simulator",
"token": "0b1c…(shown once)",
"created_at": "2026-10-18T09:00:00+00:00"
}DELETE/api/v1/projects/{project_id}/attestation/debug-tokens/{token_id}
Revoke a debug token.
- Who
- A project owner or admin.
Path parameters
token_idstringrequired- The token.
project_idstringrequired- The project.
Responses
- 200The settings, as in GET.
- 401No valid session or key.
curl -s -X DELETE "$URL/api/v1/projects/f0c3e9a2-1b4d-4e7f-8a6c-2d9b5e3f1a07/attestation/debug-tokens/d9e2…" \
-H "apikey: $ANON_KEY" \
-H "Authorization: Bearer $ACCESS_TOKEN"POST/api/v1/attest/challenge
Get a one-time challenge for an attestation (valid 5 minutes).
- Who
- Your app: the anon key or a signed-in user's token.
Responses
- 200Success.
- 429
RATE_LIMITED. - 401No valid session or key.
curl -s -X POST "$URL/api/v1/attest/challenge" \
-H "apikey: $ANON_KEY" \
-H "Authorization: Bearer $ACCESS_TOKEN"Response
{
"challenge": "c2Fs…",
"expires_in": 300
}POST/api/v1/attest/exchange
Trade a Play Integrity, App Attest, DeviceCheck or debug token for a Sovaria attestation token.
Send the returned token as X-Sovaria-Attestation on API requests; with mode: enforce, requests without a valid one are refused. App Attest: first exchange sends key_id + attestation, later ones key_id + assertion. The SDKs do this for you (App attestation).
- Who
- Your app: the anon key or a signed-in user's token.
Body
providerstringrequiredplay_integrity,app_attest,device_checkordebug.app_idstring | nulloptional- Registered app id, bundle id or package name.
- 0–255 characters
challengestring | nulloptional- From
/attest/challenge. - 0–200 characters
tokenstring | nulloptional- Play Integrity / DeviceCheck / debug token.
- 0–16,384 characters
key_idstring | nulloptional- App Attest key id (base64).
- 0–100 characters
attestationstring | nulloptional- App Attest attestation object (base64), the first time.
- 0–32,768 characters
assertionstring | nulloptional- App Attest assertion (base64), later.
- 0–8,192 characters
developmentbooleanoptionaldefaultfalse- DeviceCheck: a development build.
limited_usebooleanoptionaldefaultfalse- A token that works for one request (sensitive calls)
Responses
- 200Success.
- 401
ATTESTATION_<reason>— the token didn't verify (the message says why). - 429
RATE_LIMITED. - 422The body is missing a required field or has a field of the wrong type.
curl -s -X POST "$URL/api/v1/attest/exchange" \
-H "apikey: $ANON_KEY" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d '{"provider": "play_integrity", "app_id": "com.skolist.shop", "challenge": "c2Fs…", "token": "eyJhbGciOiJBMjU2S1ci…"}'Response
{
"attestation_token": "eyJhbGciOiJIUzI1NiIs…",
"expires_in": 3600,
"provider": "play_integrity"
}#Crash reports
POST/api/v1/crashes/events
Report crashes and errors from your app (up to 20 events per call).
Apps send to /crashes/v1/events on the project URL. Events are grouped into issues by error type and top stack frames. Secret-looking fields are removed and sizes capped. Events past the month's allowance (obs.crash_events_month) are dropped and counted. The SDK's crashes.install() reports uncaught errors for you (Crash reporting).
- Who
- Your app: the anon key or a signed-in user's token.
- Also at
/crashes/v1/events
Body
eventsarray<object>required- 1–20 items
12 fields
typestringoptional- Error class, e.g.
TypeError. messagestringoptionalstackarray<string>optional- Frames, top first (up to 50).
platformstringoptionaldefaultwebreleasestringoptionalenvironmentstringoptionalhandledbooleanoptionalurlstringoptionaldevice, tags, extraobjectoptionalbreadcrumbsarray<object>optional- Last 50 kept.
fingerprintstringoptional- Your own grouping key.
userobjectoptional{id}— the signed-in user from the token wins.
Responses
- 202Accepted — the work continues in the background.
- 401No valid session or key.
curl -s -X POST "$URL/api/v1/crashes/events" \
-H "apikey: $ANON_KEY" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d '{"events": [{"type": "TypeError", "message": "Cannot read properties of undefined (reading 'total')", "stack": ["at CartSummary (app/cart.tsx:42:18)", "at renderWithHooks (react-dom.js:1:2)"], "platform": "web", "release": "2.4.0", "url": "https://app.skolist.com/cart"}]}'Response
{
"accepted": 1,
"dropped": 0,
"limit": 100000
}GET/api/v1/crashes/issues
Crash issues, most recent first.
- Who
- The project team (not app users).
- Also at
/crashes/v1/issues
Query parameters
statusstring | nulloptionalopen,resolvedorignored.- One of
open,resolved,ignored limitintegeroptionaldefault50- How many.
- 1–200
releasestring | nulloptional- 0–100 characters
environmentstring | nulloptional- 0–50 characters
platformstring | nulloptional- 0–30 characters
qstring | nulloptional- 0–100 characters
sortstringoptionaldefaultlast_seen- One of
last_seen,first_seen,events,users handledboolean | nulloptional
Responses
- 200Success.
- 401No valid session or key.
curl -s "$URL/api/v1/crashes/issues?status=open" \
-H "apikey: $ANON_KEY" \
-H "Authorization: Bearer $ACCESS_TOKEN"Response
{
"issues": [
{
"fingerprint": "8c1e4f…",
"platform": "web",
"title": "TypeError: Cannot read properties of undefined (reading 'total')",
"culprit": "at CartSummary (app/cart.tsx",
"status": "open",
"first_seen": "2026-10-16T09:12:00+00:00",
"last_seen": "2026-10-18T07:44:00+00:00",
"events": 37,
"users": 12,
"last_release": "2.4.0"
}
],
"limits": {
"events_month": 100000,
"days": 30
}
}GET/api/v1/crashes/issues/{fingerprint}
One issue with a sample event and its recent events (stack, breadcrumbs, device, release).
- Who
- The project team (not app users).
- Also at
/crashes/v1/issues/{fingerprint}
Path parameters
fingerprintstringrequired- The issue.
Responses
- 200The issue fields, plus
sample(one full event) andrecent(up to 50 events). - 404No such issue.
- 401No valid session or key.
curl -s "$URL/api/v1/crashes/issues/8c1e4f…" \
-H "apikey: $ANON_KEY" \
-H "Authorization: Bearer $ACCESS_TOKEN"POST/api/v1/crashes/issues/{fingerprint}/status
Resolve, ignore or reopen an issue.
- Who
- The project team (not app users).
- Also at
/crashes/v1/issues/{fingerprint}/status
Path parameters
fingerprintstringrequired- The issue.
Body
statusstringrequired- One of
open,resolved,ignored
Responses
- 200Success.
- 401No valid session or key.
curl -s -X POST "$URL/api/v1/crashes/issues/8c1e4f…/status" \
-H "apikey: $ANON_KEY" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d '{"status": "resolved"}'Response
{
"fingerprint": "8c1e4f…",
"status": "resolved"
}GET/api/v1/crashes/usage
This month's accepted and dropped crash events, and the plan's limits.
- Who
- The project team (not app users).
- Also at
/crashes/v1/usage
Responses
- 200Success.
- 401No valid session or key.
curl -s "$URL/api/v1/crashes/usage" \
-H "apikey: $ANON_KEY" \
-H "Authorization: Bearer $ACCESS_TOKEN"Response
{
"accepted": 1840,
"dropped": 0,
"limits": {
"events_month": 100000,
"days": 30
}
}#More endpoints
GET/api/v1/attest/config
Attestation public config.
- Who
- A project team member's session (the console, or a token from
sov login) asAuthorization: Bearer <token>. The member's role must allow the action.
Responses
- 200Success.
- 401No valid session or key.
curl -s "$URL/api/v1/attest/config" \
-H "apikey: $ANON_KEY" \
-H "Authorization: Bearer $ACCESS_TOKEN"GET/api/v1/crashes/debug-files
Uploaded source maps, ProGuard/R8 mappings and Apple symbols, and the storage used.
- Who
- A project team member's session (the console, or a token from
sov login) asAuthorization: Bearer <token>. The member's role must allow the action. - Also at
/crashes/v1/debug-files
Query parameters
kindstring | nulloptional- One of
sourcemap,proguard,dsym,elf releasestring | nulloptional- 0–100 characters
limitintegeroptionaldefault200- How many to return.
- 1–1000
Responses
- 200Success.
- 401No valid session or key.
curl -s "$URL/api/v1/crashes/debug-files" \
-H "apikey: $ANON_KEY" \
-H "Authorization: Bearer $ACCESS_TOKEN"POST/api/v1/crashes/debug-files
Chunks of one file (gzip recommended), in any order; the last missing chunk stores the file. A file with the same kind, release and name replaces the older one.
- Who
- A project team member's session (the console, or a token from
sov login) asAuthorization: Bearer <token>. The member's role must allow the action. - Also at
/crashes/v1/debug-files
Body
kindstringrequired- One of
sourcemap,proguard,dsym,elf releasestringoptional- 0–100 characters
namestringoptional- 0–300 characters
upload_idstringrequired- 8–64 characters
partintegeroptionaldefault0- 0.0–9999.0
totalintegeroptionaldefault1- 1.0–10000.0
datastringrequired- base64 of this chunk of the (gzip) file
- 0–1,000,000 characters
Responses
- 201Created.
- 401No valid session or key.
- 422The body is missing a required field or has a field of the wrong type.
curl -s -X POST "$URL/api/v1/crashes/debug-files" \
-H "apikey: $ANON_KEY" \
-H "Authorization: Bearer $ACCESS_TOKEN"DELETE/api/v1/crashes/debug-files/{file_id}
Delete one debug file (frames of that release stay as they were stored).
- Who
- A project team member's session (the console, or a token from
sov login) asAuthorization: Bearer <token>. The member's role must allow the action. - Also at
/crashes/v1/debug-files/{file_id}
Path parameters
file_idstringrequired
Responses
- 200Success.
- 401No valid session or key.
curl -s -X DELETE "$URL/api/v1/crashes/debug-files/<file_id>" \
-H "apikey: $ANON_KEY" \
-H "Authorization: Bearer $ACCESS_TOKEN"GET/api/v1/crashes/releases
Release health: sessions, crash-free sessions and users, and adoption per release.
- Who
- A project team member's session (the console, or a token from
sov login) asAuthorization: Bearer <token>. The member's role must allow the action. - Also at
/crashes/v1/releases
Query parameters
daysintegeroptionaldefault14- 1–365
environmentstring | nulloptional- 0–50 characters
platformstring | nulloptional- 0–30 characters
limitintegeroptionaldefault20- How many to return.
- 1–100
Responses
- 200Success.
- 401No valid session or key.
curl -s "$URL/api/v1/crashes/releases" \
-H "apikey: $ANON_KEY" \
-H "Authorization: Bearer $ACCESS_TOKEN"POST/api/v1/crashes/sessions
- Who
- A project team member's session (the console, or a token from
sov login) asAuthorization: Bearer <token>. The member's role must allow the action. - Also at
/crashes/v1/sessions
Body
sessionsarray<object>required- 1–50 items
Responses
- 202Accepted — the work continues in the background.
- 401No valid session or key.
- 422The body is missing a required field or has a field of the wrong type.
curl -s -X POST "$URL/api/v1/crashes/sessions" \
-H "apikey: $ANON_KEY" \
-H "Authorization: Bearer $ACCESS_TOKEN"GET/api/v1/crashes/trends
Crash events over time (hourly up to 2 days, else daily) and the releases, app environments and platforms seen.
- Who
- A project team member's session (the console, or a token from
sov login) asAuthorization: Bearer <token>. The member's role must allow the action. - Also at
/crashes/v1/trends
Query parameters
daysintegeroptionaldefault14- 1–365
releasestring | nulloptional- 0–100 characters
environmentstring | nulloptional- 0–50 characters
platformstring | nulloptional- 0–30 characters
Responses
- 200Success.
- 401No valid session or key.
curl -s "$URL/api/v1/crashes/trends" \
-H "apikey: $ANON_KEY" \
-H "Authorization: Bearer $ACCESS_TOKEN"GET/api/v1/distribution/install/{token}
- Who
- A project team member's session (the console, or a token from
sov login) asAuthorization: Bearer <token>. The member's role must allow the action.
Path parameters
tokenstringrequired
Responses
- 200Success.
curl -s "$URL/api/v1/distribution/install/<token>" \
-H "apikey: $ANON_KEY"POST/api/v1/distribution/install/{token}/releases/{release_id}/download
- Who
- A project team member's session (the console, or a token from
sov login) asAuthorization: Bearer <token>. The member's role must allow the action.
Path parameters
tokenstringrequiredrelease_idstringrequired
Responses
- 200Success.
curl -s -X POST "$URL/api/v1/distribution/install/<token>/releases/<release_id>/download" \
-H "apikey: $ANON_KEY"GET/api/v1/distribution/install/{token}/releases/{release_id}/manifest.plist
- Who
- A project team member's session (the console, or a token from
sov login) asAuthorization: Bearer <token>. The member's role must allow the action.
Path parameters
tokenstringrequiredrelease_idstringrequired
Responses
- 200Success.
curl -s "$URL/api/v1/distribution/install/<token>/releases/<release_id>/manifest.plist" \
-H "apikey: $ANON_KEY"PUT/api/v1/projects/{project_id}/attestation/credentials/recaptcha
Put attestation recaptcha.
- Who
- A project team member's session (the console, or a token from
sov login) asAuthorization: Bearer <token>. The member's role must allow the action.
Path parameters
project_idstringrequired- The project id.
Body
secretstringrequired- reCAPTCHA v3 secret key or Enterprise API key
- 20–200 characters
Responses
- 200Success.
- 401No valid session or key.
- 422The body is missing a required field or has a field of the wrong type.
curl -s -X PUT "$URL/api/v1/projects/<project-id>/attestation/credentials/recaptcha" \
-H "apikey: $ANON_KEY" \
-H "Authorization: Bearer $ACCESS_TOKEN"POST/api/v1/projects/{project_id}/push/credentials/webpush
Create (or rotate) the project's web push VAPID keys; returns the public key.
- Who
- A project team member's session (the console, or a token from
sov login) asAuthorization: Bearer <token>. The member's role must allow the action.
Path parameters
project_idstringrequired- The project id.
Body
subjectstring | nulloptional- mailto: address or https: URL push services may contact
- 0–200 characters
rotatebooleanoptionaldefaultfalse- New key pair; every browser must subscribe again
Responses
- 200Success.
- 401No valid session or key.
- 422The body is missing a required field or has a field of the wrong type.
curl -s -X POST "$URL/api/v1/projects/<project-id>/push/credentials/webpush" \
-H "apikey: $ANON_KEY" \
-H "Authorization: Bearer $ACCESS_TOKEN"POST/api/v1/projects/{project_id}/push/sends/{send_id}/cancel
Cancel a queued or running large push send.
- Who
- A project team member's session (the console, or a token from
sov login) asAuthorization: Bearer <token>. The member's role must allow the action.
Path parameters
send_idstringrequiredproject_idstringrequired- The project id.
Responses
- 200Success.
- 401No valid session or key.
curl -s -X POST "$URL/api/v1/projects/<project-id>/push/sends/<send_id>/cancel" \
-H "apikey: $ANON_KEY" \
-H "Authorization: Bearer $ACCESS_TOKEN"GET/api/v1/push/webpush-key
The project's VAPID public key for browsers (pushManager.subscribe applicationServerKey).
- Who
- A project team member's session (the console, or a token from
sov login) asAuthorization: Bearer <token>. The member's role must allow the action.
Responses
- 200Success.
- 401No valid session or key.
curl -s "$URL/api/v1/push/webpush-key" \
-H "apikey: $ANON_KEY" \
-H "Authorization: Bearer $ACCESS_TOKEN"