state (string): The state parameter return in the response, it is used to track the status of a user authencation in the REST API. It helps in maintaining the user authencation context and monitoring its progress throughout the request lifecycle
500 Internal Server Error: An error occurred while processing the request.
Request
Query Params
client_id
string
required
This identifies the application making the request to the SSOJET server. You can find your client ID on the API Keys page in the dashboard
Example:
string
Header Params
Content-Type
string
required
Example:
application/json
User-Agent
string
required
Example:
SSOJET API
Body Params application/json
phone_id
string
required
Example
{"phone_id":"<The user phone number is used to send a one-time OTP (One-Time Password) for passwordless authentication>"}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST 'https://api.ssojet.com/api/v1/auth/passwordless/phone-otp/send?client_id=string&client_id=' \
--header'User-Agent: SSOjet/1.0.0 (https://ssojet.com)' \
--header'Content-Type: application/json' \
--data-raw'{
"phone_id": "<The user phone number is used to send a one-time OTP (One-Time Password) for passwordless authentication>"
}'