Skip to main content
POST
/
auth
/
loginlink
Login Link
curl --request POST \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/auth/loginlink \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "okc4pardon@gmail.com"
}'
{
  "message": "Login Link sent"
}
/auth/loginlink Description:
The /auth/loginlink endpoint generates and sends a login link to the specified email address. This login link allows users to securely log in to the system without requiring a password.
Method:
POST
Request Payload:
ParameterTypeDescriptionRequired
emailstringThe email address to send the login linkYes

Authentication

This endpoint requires authentication. Include your bearer token in the Authorization header.

Request Body

Request Schema

FieldTypeRequiredDescription
emailstringThe email address to send the login link

Responses

⚠️ 401 - Unauthorized

⚠️ 404 - Not Found

❌ 500 - Internal Server Error

Tags

Auth

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Body

application/json
email
string<email>
required

The email address to send the login link

Response

Success - LoginLink Sent

message
string
I