The Zeromagic Auth API Reference allows to create and manage users using REST API. These apis are great place to start if you want to build authentication system for your application. You can start consuming to the pre-built endpoints from your client application. We support both Basic and Social authentication methods.
Get Started with Base URL
The authentication has separate url which can be found in the Environments section in the dashboard. The base url can be found in the name of Auth URL under Environments. To make an api call to the below authentication endpoint, the URI is in the format or
{base_auth_url}/{authentication_endpoint}
For example, if
https://authn.zeromagic.cloud/auth/353d1499ab5149e194a53cf0f6c837f4/development/
is your authentication base url and you have to make a request to /email-password-signup endpoint, then your uri will be
https://authn.zeromagic.cloud/auth/353d1499ab5149e194a53cf0f6c837f4/development/email-password-signup
Environments are required for making an api call. When you make an api call to the url mentioned in the environments, the database operations is performed over the Database binded to the Environment.
1. Basic Authentication - Available APIs
Email with password API
Mobile number with otp API
Username with password API
Email with otp API
2. Social Authentication - Available APIs
The endpoint /oauth is common for all social authentication methods
Support Social Providers
To know about the supported social providers, visit here - Supported Social Providers