Last updated: October 24, 2026
Generate Magic Link
Send an INVITE magic link to the user email. The link is not returned in the response.
Request
POST
https://test.miniorange.in/moas/api/admin/magiclink/generateAuthentication headers (required on every request)
- Customer-Key
- Integer — your account customer key
- Timestamp
- Milliseconds since epoch (e.g. Date.now())
- Authorization
- SHA-512 of customerKey + timestamp + apiKey
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| username | String | Required | Username or primary email (2–100 characters) |
| applicationUuid | String | Required | Application UUID from the admin console |
| redirectUri | String | Optional | Post-login URL. Required for JWT apps. |
| expiryMinutes | Number | Optional | Validity in minutes. Default 15, max 43200 |
Request body
{
"username": "jane.doe@example.com",
"applicationUuid": "60237c5a-5fdf-11f1-adc7-d2e94289769e",
"redirectUri": "https://app.example.com/callback",
"expiryMinutes": 60
}
Response
{
"status": "SUCCESS",
"message": "Magic link sent successfully.",
"correlationId": "a3f7c129-8e4d-4b21-bcd3-0fae7a90e15d"
}