Create API
Create an auth request and obtain a requestId that links a user’s identity to a future SNA flow. Called server-to-server.
requestId. By passing the phone number you are effectively generating a requestId bound to that identity — you then use this same requestId to invoke the SDK and perform the authentication on the client, and to track the result via the Status Check API.
phoneNumber + countryCode or email must be provided. For SNA-only flows, use phoneNumber + countryCode — SNA authenticates against the SIM and requires a mobile number.Authorizations
OTPless API Client ID
OTPless API Client Secret
Body
Phone number without country code. Required if email is not provided.
"9876543210"
Country dial code (e.g. 91). Required when phoneNumber is provided.
"91"
User email. Required if phoneNumber is not provided.
"user@example.com"
Auth request validity in seconds. Min: 60, Max: 86400. Default: 900.
300
Template ID to pin a specific channel config template for the subsequent initiate call.
"your-template-id"
Response
HTTP 200 — Auth request created. Returns the requestId to pass to the SDK.
Unique auth request ID (ARID token). Pass this to the SDK and use it when polling Status Check.
"ARID_A1B2C3D4E5F6"