For the complete documentation index, see llms.txt. This page is also available as Markdown.

Consume Magic Link

Membership · Passkey.

These endpoints power passwordless sign-in (passkeys / WebAuthn) and account recovery (magic links, recovery codes, email verification) for your app's end users.

Consumes the magic link.

Membership · Passkey

post
Path parameters
versionstring · nullableRequired

The CodeMash API version used to fetch data from the API. If not specified, the last version will be used. E.g.: v3

Body

Membership · Passkey

correlationIdstring · nullableOptional

CorrelationId for each request

cultureCodestring · nullableOptional

Specify culture code when your response from the API should be localised. E.g.: en

timeZoneIdstring · nullableOptional

TimeZone

envstring · nullableOptional

Target environment for this request (e.g. TEST, STAGING). Optional — when omitted the request runs against PROD. Can be passed in a header as norbix-env.

projectIdstringRequired

ID of your project. Can be passed in a header as norbix-project-id.

tokenstringOptional
Responses
200

OK

application/json
accessTokenstring · nullableOptional
refreshTokenstring · nullableOptional
expiresInSecondsinteger · int32Optional
remainingCodesinteger · int32Optional
post/{version}/membership/userauth/recovery/magic-link/consume
POST /{version}/membership/userauth/recovery/magic-link/consume HTTP/1.1
Host: api.norbix.ai
Content-Type: multipart/form-data
Accept: */*
Content-Length: 112

{
  "correlationId": "text",
  "cultureCode": "text",
  "timeZoneId": "text",
  "env": "text",
  "projectId": "text",
  "token": "text"
}
200

OK

{
  "responseStatus": {
    "isSuccess": true
  },
  "accessToken": "text",
  "refreshToken": "text",
  "expiresInSeconds": 10,
  "remainingCodes": 10
}

In the dashboard

Manage this visually in Norbix Cloud — see Membership.

Use it from code

Every Norbix SDK exposes this endpoint as a method — see Consume Magic Link in the SDK reference, with examples in every language.

Last updated