Apps · Developer account
verifyAppDomain
Verify an app's domain
This method authenticates with your developer account. The easiest way to call it is the dashboard, which signs the request for you. Direct calls need a dashboard session cookie.
Verifies domain ownership by fetching https://domain/.well-known/sprintelex-app.txt and checking it contains the app id. Only verified apps can be launched.
Request
curl https://api.sprintelex.com/verifyAppDomain \
# authenticated with your dashboard session \
-H "Content-Type: application/json" \
-d '{"app_id":"<app_id>"}'Parameters
| Name | Type | Required | Rules |
|---|---|---|---|
| app_id | string (UUID) | Yes | - |
Response
{ ok: true, result: { verified: true } }Rate limit: none in code
Errors
| Status | Error | When |
|---|---|---|
| 400 | verification file not found - host your app id at /.well-known/sprintelex-app.txt | file missing |
| 400 | verification file does not contain this app's id | wrong content |
| 404 | app not found | no such app |