Send an OTP to a customer

Sends an OTP via SMS or email to the supplied phone number, email address, or identity. Accepts phone numbers in any common format. No JWT is required, but a Google reCAPTCHA token must be provided in the request header.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string

Customer email number where the email link will be sent

string

Customer identity where the OTP will be sent. Eclipse will look up the customers phone number or email based on the identity passed to send otp.

string

Customer phone number where the OTP will be sent

string

Mustache template Id for verification. The eclipse will look templateId in the property if templateId is found then it will send Email else return an error.

int64

Optional. The tenants id if known so that tenant specific messaging can be done

string
enum

Verification type. Defaults to SMS if not provided

Allowed:
Responses
204

No Content

400

Bad Request

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json