Create an embed sign-in token
<Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>
Creates a single-use sign-in token for a provisioned app user and returns embed_url, the chosen surface's address with the token on it. Load it in an iframe and the app opens signed in as that user. live_preview loads only while the app's sandbox is running. A workspace API key needs the Mint embed sign-in tokens permission. Limited to 300 requests a minute per app. Higher plans get a higher limit.
Path parameters
ID of the app.
ID of the app.
Request body
Response
Successful Response
Example response
{
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.e30.sig",
"expires_in": 60,
"embed_url": "https://weekly-report.base44.app/?ott=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.e30.sig"
}Changes
Changed in 1 of the 35 revisions of this API.1
- ○
endpoint added
endpoint-added
This revision also has 13 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○