Probe a magic link

http
HEAD /auth/magiclink

Check a magic link without redeeming it.

Servers

JSON
[  {    "url": "https://api.veryfront.com"  }]

Authentication

This operation declares no security requirement.

JSON
{}

Parameters

NameLocationRequiredDescription
tokenqueryYesOne-time JWT from the sign-in email. Redeem it in the browser with the device-binding cookie from the link request.
redirect_urlqueryNoURL to redirect after verification
redirectUrlqueryNo

Parameter contracts

JSON
[  {    "schema": {      "type": "string",      "description": "One-time JWT from the sign-in email. Redeem it in the browser with the device-binding cookie from the link request."    },    "required": true,    "description": "One-time JWT from the sign-in email. Redeem it in the browser with the device-binding cookie from the link request.",    "name": "token",    "in": "query"  },  {    "schema": {      "type": "string",      "maxLength": 4096,      "format": "uri",      "description": "URL to redirect after verification"    },    "required": false,    "description": "URL to redirect after verification",    "name": "redirect_url",    "in": "query"  },  {    "schema": {      "type": "string",      "maxLength": 4096,      "format": "uri",      "description": "URL to redirect after verification (camelCase alias)"    },    "required": false,    "name": "redirectUrl",    "in": "query"  }]

Responses

200

Empty response without redeeming the sign-in token, setting authentication cookies or spending the verification rate-limit budget.

JSON
{  "description": "Empty response without redeeming the sign-in token, setting authentication cookies or spending the verification rate-limit budget."}

302

Redirect to sign-in when magic-link authentication is disabled

JSON
{  "description": "Redirect to sign-in when magic-link authentication is disabled",  "headers": {    "Location": {      "schema": {        "type": "string",        "description": "Application URL after sign-in, or the sign-in page carrying a magic_link_* failure reason."      },      "required": true,      "description": "Application URL after sign-in, or the sign-in page carrying a magic_link_* failure reason."    }  }}

400

Malformed query rejected before verification; HEAD responses have no content.

JSON
{  "description": "Malformed query rejected before verification; HEAD responses have no content."}

500

Unexpected probe failure; HEAD responses have no content.

JSON
{  "description": "Unexpected probe failure; HEAD responses have no content."}

Operation contract

JSON
{  "operationId": "probeMagicLink",  "tags": [    "identity-access/Authentication/Sign-in"  ],  "security": [],  "summary": "Probe a magic link",  "description": "Check a magic link without redeeming it.",  "parameters": [    {      "schema": {        "type": "string",        "description": "One-time JWT from the sign-in email. Redeem it in the browser with the device-binding cookie from the link request."      },      "required": true,      "description": "One-time JWT from the sign-in email. Redeem it in the browser with the device-binding cookie from the link request.",      "name": "token",      "in": "query"    },    {      "schema": {        "type": "string",        "maxLength": 4096,        "format": "uri",        "description": "URL to redirect after verification"      },      "required": false,      "description": "URL to redirect after verification",      "name": "redirect_url",      "in": "query"    },    {      "schema": {        "type": "string",        "maxLength": 4096,        "format": "uri",        "description": "URL to redirect after verification (camelCase alias)"      },      "required": false,      "name": "redirectUrl",      "in": "query"    }  ],  "responses": {    "200": {      "description": "Empty response without redeeming the sign-in token, setting authentication cookies or spending the verification rate-limit budget."    },    "302": {      "description": "Redirect to sign-in when magic-link authentication is disabled",      "headers": {        "Location": {          "schema": {            "type": "string",            "description": "Application URL after sign-in, or the sign-in page carrying a magic_link_* failure reason."          },          "required": true,          "description": "Application URL after sign-in, or the sign-in page carrying a magic_link_* failure reason."        }      }    },    "400": {      "description": "Malformed query rejected before verification; HEAD responses have no content."    },    "500": {      "description": "Unexpected probe failure; HEAD responses have no content."    }  },  "x-documentation-source-tag": "Sign-in",  "x-canonical-documentation": {    "domain": "identity-access",    "resource": "Authentication",    "subgroup": "Sign-in",    "name": "Probe a magic link",    "description": "Check a magic link without redeeming it.",    "operationId": "probeMagicLink"  },  "x-mint": {    "href": "/cloud/rest/api-reference/identity-access-authentication-sign-in/probe-a-magic-link"  }}