API reference

Apps

List, read, create, change and delete the apps in a workspace, and set an app's logo.

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#

GET/v1/appsApp key

Lists 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.

cURLbash
curl https://api.scute.io/v1/apps \  -H "Authorization: Bearer $SCUTE_WORKSPACE_KEY" \  -H "X-Workspace: $WORKSPACE_ID"
Response 200json
{  "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.

StatusErrorWhen
403workspace_access_deniedThe key does not reach that workspace.
404workspace_not_foundNo workspace given, or none with that id or slug.

Get an app#

GET/v1/apps/:app_idNone

Returns 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.

cURLbash
curl https://api.scute.io/v1/apps/$SCUTE_APP_ID
Response 200json
{  "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.

StatusWhen
404No app with that id.

Create an app#

POST/v1/appsApp key

Creates 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.

namestringrequired
Name, up to 80 characters. Unique among the workspace's apps.
originstringrequired
The app's URL. Unique among the workspace's apps.
workspace_idstring
Workspace UUID or slug.
cURLbash
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" }'
Response 201json
{ "app": { "id": "app_3mxZRrzWxhPZ08dXvqq6", "name": "Acme", "origin": "https://app.acme.com" } }
StatusErrorWhen
403workspace_access_deniedThe key does not reach the workspace in workspace_id.
404workspace_not_foundNo workspace with that id or slug.
422name_taken, origin_takenAnother app in the workspace has this name or origin. details names it (app_id, app_name).
422Another field is not valid. error lists the messages.

Update an app#

PATCH/v1/apps/:app_idApp key

Changes 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.

cURLbash
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 } }'
Response 200json
{ "app": { "id": "app_3mxZRrzWxhPZ08dXvqq6", "mfa_policy": "required", "access_expiration": 1800 } }
StatusErrorWhen
403The key does not own the app.
404No app with that id.
422name_taken, origin_takenAnother app in the workspace has this name or origin.
422A value is not valid. error lists the messages.

Delete an app#

DELETE/v1/apps/:app_idApp key
cURLbash
curl -X DELETE https://api.scute.io/v1/apps/$SCUTE_APP_ID \  -H "Authorization: Bearer $SCUTE_WORKSPACE_KEY"

Returns 204 with no body.

POST/v1/apps/:app_id/upload_logoApp key

Send 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.

cURLbash
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.

DELETE/v1/apps/:app_id/delete_logoApp key
cURLbash
curl -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.