AlphaAlpha Docs
API ReferenceAuth magic link

Validate magic link

Validate a magic link token and return authentication tokens

POST
/auth/magic-link/public/validate
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

token*string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "http://localhost:18080/api/v1/auth/magic-link/public/validate" \  -H "Content-Type: application/json" \  -d '{    "token": "string"  }'
{
  "accessExpiresUnix": 0,
  "accessToken": "string",
  "id": "string",
  "refreshToken": "string",
  "username": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}