Skip to content

Magic Link REST API for Passwordless Login

The Magic Link API is Mideye Server’s REST interface for passwordless authentication. Send a phone number, and Mideye delivers a push notification (via the Mideye+ app) or an SMS magic link to the user’s phone. No username or password required.

ResourceDescription
Magic Link API referenceEndpoints, request/response formats, error codes
Example applicationsReady-to-run code in Python, Java, C#, Go, and cURL/PowerShell
Keycloak integrationAdd Mideye MFA to Keycloak via a custom authenticator SPI
Use the Magic Link API when…Use RADIUS when…
Building a custom login flowIntegrating a VPN, firewall, or network device
You want passwordless (phone-only) authThe system already supports RADIUS
Integrating an identity provider (e.g., Keycloak)Users authenticate with username + password + MFA
No username/password is availablePassword validation against AD/LDAP is needed

For RADIUS-based integrations, see RADIUS Integrations or Windows Integrations.

  1. Configure a Magic Link endpoint in the Mideye web GUI
  2. Generate an API key for the endpoint
  3. Test with cURL or PowerShell — see example applications