Autional Autional
API Reference GitHub autional.com →

POST /auth/magic-link

Receive email, generate a one-time magic link token and send it to the user's email (dev mode prints to log)

Authentication None application/json

Request Body

Schema: dto.MagicLinkRequest

FieldTypeRequiredExampleConstraintsDescription
email string Yes
redirect_url string No

Responses

StatusDescriptionSchema
200Request receivedgitee_com_linmes_authms_base_dto.SimpleResponse
400Request parameter errorgitee_com_linmes_authms_base_dto.SimpleResponse
429Request too frequentgitee_com_linmes_authms_base_dto.SimpleResponse

Referenced Schemas

gitee_com_linmes_authms_base_dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No