POST
/
connectTokens
curl --request POST \
  --url https://backendapi.corbado.io/v2/connectTokens \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "type": "passkey-append",
  "data": {
    "displayName": "<string>",
    "identifier": "<string>"
  },
  "maxLifetimeInSeconds": 3600
}'
{
  "id": "<string>",
  "tokenType": "passkey-append",
  "data": {
    "displayName": "<string>",
    "identifier": "<string>"
  },
  "connectTokenStatus": "initial",
  "secret": "<string>",
  "expires": 123
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json

Response

200
application/json

Connect token has been created

The response is of type object.