Apps
- Written for
- + Written for
- Deprecated
- + Deprecated
- Applies to
- + Applies to
Apps
Platform API — a platform secret key (Authorization: Bearer).
13 routes. Each row is one endpoint with its explanation, required scope, and whether it honours the Idempotency-Key header.
Method & path | Scope | Idem | Explanation |
|---|---|---|---|
|
| ✓ | Provision a new app (instance) owned by the platform: mints its publishable key, signing key and first secret key. The secret is revealed exactly once. |
|
| List the apps (instances) this platform owns. Never returns any secret. | |
|
| Fetch one owned app. Another platform's app id is 404, never 403. Never a secret. | |
|
| Update an owned app's safe config subset (name, allowed_origins). Not owned is 404. | |
|
| Disable an owned app: refuse sign-ins and sign-ups via its kill switches. Soft and reversible — never a hard drop of user data. Not owned is 404. | |
|
| ✓ | Rotate an owned app's secret key: revoke its prior keys and mint a new one, revealed exactly once. Not owned is 404. |
|
| ✓ | Provision an additional instance (e.g. development beside production) under an owned app. Returns the new instance id and its first secret key, revealed exactly once. Not owned is 404. |
|
| List every instance under an owned app — its development/production siblings. Never returns any secret. Not owned is 404. | |
|
| ✓ | Rotate one specific instance's secret under an owned app: revoke its prior keys and mint a new one, revealed once. Not owned is 404. |
|
| ✓ | Mint an app owned by no platform and return a one-time claim_token (hashed at rest, single-use, expiring). The provision-then-hand-over agency flow — no secret is minted until the app is claimed. |
|
| ✓ | Claim an accountless app into the calling platform by its claim_token. Single-use and expiring; sets ownership and mints the first secret key, revealed once. A consumed, expired or unknown token is 4xx. |
|
| ✓ | Initiate a transfer of an owned app: returns a one-time transfer_token bound to it (hashed, single-use, expiring). Only the current owner can initiate; a non-owned app is 404. |
|
| ✓ | Accept a transfer by transfer_token: move the app's ownership to the calling platform and re-parent it to its account. The previous owner loses access immediately. Single-use and expiring; a consumed/expired/unknown token is 4xx. |