Reference / Auth

Start passwordless sign-in via a magic link.

POST /v1/auth/magic-link/start
End-user session operationId: start_magic_link

Authorization

Called from the browser with the publishable application id (x-application-id); the access token lives in memory.

Request body · required

  • email string required

Responses

200 Magic link sent
{
  "data": {
    "verification_id": "018f3c4a-7b2e-7c1d-9e0a-1f2b3c4d5e6f"
  },
  "error": {
    "code": "string",
    "message": "string"
  },
  "meta": {
    "timestamp": "string"
  },
  "success": false
}

Request

curl -X POST "http://localhost:8080/v1/auth/magic-link/start" \
  -H "Content-Type: application/json" \
  -d '{
  "email": "string"
}'

Try it

live request
POST http://localhost:8080/v1/auth/magic-link/start

Request body

application/json