cURL
curl --request POST \ --url https://{host}/api/v1/users/{id}/login-link \ --header 'API-key: <api-key>' \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "send_email": true } '
{ "login_url": "<string>", "expires_at": "<string>" }
Optional body send_email triggers the same email flow as manual magic link. Rate limited (e.g. 30 requests per minute per route).
send_email
Sanctum personal access token (access_tokens / partner API settings).
access_tokens
UUID API key stored for the partner user.