An app is one product your users sign in to. It holds the users, sign-in settings, keys and webhooks. The fields are on the app object.
These routes take an app key or a workspace key in Authorization. A workspace key reaches every app in its workspace and in the workspaces below it. Reading an app needs no credentials. See Authentication.
List apps#
/v1/appsApp keyLists the apps of one workspace. Name the workspace in the X-Workspace header or the workspace_id query parameter (UUID or slug). A workspace key reaches its own workspace and its direct children; an app key reaches its own workspace.
curl https://api.scute.io/v1/apps \ -H "Authorization: Bearer $SCUTE_WORKSPACE_KEY" \ -H "X-Workspace: $WORKSPACE_ID"{ "workspace_id": "0193f8aa-0000-7000-8000-000000000000", "apps": [ { "id": "app_3mxZRrzWxhPZ08dXvqq6", "name": "Acme", "origin": "https://app.acme.com", "callback_url": "/callback", "slug": "acme", "users_count": 1840, "last_sign_in_at": "2026-11-19T09:58:12Z" } ]}The example shows a subset of the fields.
| Status | Error | When |
|---|---|---|
| 403 | workspace_access_denied | The key does not reach that workspace. |
| 404 | workspace_not_found | No workspace given, or none with that id or slug. |
Get an app#
/v1/apps/:app_idNoneReturns the app's configuration. The SDKs read it with no credentials to draw the sign-in page. users_count and api_keys_count are included only when the request carries a key that reaches the app.
curl https://api.scute.io/v1/apps/$SCUTE_APP_ID{ "id": "app_3mxZRrzWxhPZ08dXvqq6", "name": "Acme", "slug": "acme", "origin": "https://app.acme.com", "login_url": "/", "callback_url": "/callback", "public_signup": true, "signup_open": true, "allowed_identifiers": ["email"], "mfa_policy": "optional", "mfa_methods_allowed": ["totp", "sms", "email", "backup_codes"], "passkeys_enabled": true, "access_expiration": 3600, "refresh_expiration": 604800, "oauth_providers": [], "user_meta_data_schema": []}The example shows a subset of the fields. The settings are described in App settings.
| Status | When |
|---|---|
| 404 | No app with that id. |
Create an app#
/v1/appsApp keyCreates an app in a workspace. With workspace_id, the key has to reach that workspace. Without it, the app goes into the workspace key's own workspace, or the app key's workspace. An MSP client workspace holds one app only.
Send the fields at the top level or inside app. Any field from App settings can be set here.
curl -X POST https://api.scute.io/v1/apps \ -H "Authorization: Bearer $SCUTE_WORKSPACE_KEY" \ -H "Content-Type: application/json" \ -d '{ "name": "Acme", "origin": "https://app.acme.com" }'{ "app": { "id": "app_3mxZRrzWxhPZ08dXvqq6", "name": "Acme", "origin": "https://app.acme.com" } }| Status | Error | When |
|---|---|---|
| 403 | workspace_access_denied | The key does not reach the workspace in workspace_id. |
| 404 | workspace_not_found | No workspace with that id or slug. |
| 422 | name_taken, origin_taken | Another app in the workspace has this name or origin. details names it (app_id, app_name). |
| 422 | Another field is not valid. error lists the messages. |
Update an app#
/v1/apps/:app_idApp keyChanges any of the fields in App settings, sent at the top level or inside app. A key you leave out keeps its value. An app cannot be moved to another workspace.
curl -X PATCH https://api.scute.io/v1/apps/$SCUTE_APP_ID \ -H "Authorization: Bearer $SCUTE_APP_SECRET" \ -H "Content-Type: application/json" \ -d '{ "app": { "mfa_policy": "required", "access_expiration": 1800 } }'{ "app": { "id": "app_3mxZRrzWxhPZ08dXvqq6", "mfa_policy": "required", "access_expiration": 1800 } }| Status | Error | When |
|---|---|---|
| 403 | The key does not own the app. | |
| 404 | No app with that id. | |
| 422 | name_taken, origin_taken | Another app in the workspace has this name or origin. |
| 422 | A value is not valid. error lists the messages. |
Delete an app#
/v1/apps/:app_idApp keycurl -X DELETE https://api.scute.io/v1/apps/$SCUTE_APP_ID \ -H "Authorization: Bearer $SCUTE_WORKSPACE_KEY"Returns 204 with no body.
Upload a logo#
/v1/apps/:app_id/upload_logoApp keySend the image as multipart form data in logo. JPEG, PNG, GIF, WebP or SVG, up to 5 MB. A new logo replaces the old one.
curl -X POST https://api.scute.io/v1/apps/$SCUTE_APP_ID/upload_logo \ -H "Authorization: Bearer $SCUTE_APP_SECRET" \ -F "logo=@logo.png"Returns 200 with { "app": ... }, where uploaded_logo_url is the new logo. Returns 422 when the file is missing, of another type or too large.
Remove the logo#
/v1/apps/:app_id/delete_logoApp keycurl -X DELETE https://api.scute.io/v1/apps/$SCUTE_APP_ID/delete_logo \ -H "Authorization: Bearer $SCUTE_APP_SECRET"Returns 200 with { "app": ... }, or 422 when the app has no uploaded logo.