Skip to main content
POST
Sign a browser in to an app

Authorizations

Authorization
string
header
required

Effective API key. Send Authorization: Bearer sk-eai-...

Path Parameters

appId
string
required

App ID: app- followed by lowercase letters, digits and hyphens, ending in a letter or digit. It is part of the app’s hostname, so your organization’s subdomain and the ID together must fit 63 characters.

Maximum string length: 63
Pattern: ^app-[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$

Body

application/json
authorizeUrl
string<uri>
required

The /app-authorize URL the app redirected your browser to when you opened it signed out.

Maximum string length: 4096

Response

Where to finish signing in.

callbackUrl
string<uri>
required

Open this in the same browser tab, before callbackExpiresAt, to finish signing in. It works only in the tab that started sign-in.

callbackExpiresAt
string<date-time>
required

When callbackUrl stops working.

signInExpiresInSeconds
integer
required

How long the browser stays signed in once the callback is opened.