Applications

Create Identity Token

Creates an identity token for a specific application. This token is used to initiate an authentication flow for linking user identities to the application.

The callback URL must use HTTPS and is where the user will be redirected after authentication.

post/v1/applications/{applicationId}/tokens

Request

  • Base URL
    https://api.anchorbrowser.io
  • Auth
    API key in header anchor-api-key

Path parameters

applicationIdstring uuid required

The unique identifier of the application

Request body

callbackUrlstring uri required

The HTTPS URL where the user will be redirected after authentication. Must use HTTPS protocol.

Example request

{
  "callbackUrl": "https://example.com/callback"
}

Response

Identity token created successfully

tokenstring required

The generated identity token for authentication

expiresAtstring date-time required

The timestamp when the token expires

tokenHashstring required

A hash of the token for verification purposes

Changes

No recorded changes to this operation across all 35 revisions of this API.