Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request POST \ --url https://api.royalti.io/auth/loginlink \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "email": "jsmith@example.com" } '
{ "success": true, "message": "<string>", "data": {} }
Request a magic login link to be sent to the user’s email
const response = await fetch('https://api.royalti.io/auth/loginlink', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ "email": "sample-email" }) }); const data = await response.json(); console.log(data);
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
User's email address
Login link sent successfully
true