cURL
curl --request POST \ --url https://api.crunchz.app/api/otp/code/request \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "contact_id": "xxx@c.us", "length": 4, "useLetter": false, "useNumber": true, "allCapital": false, "name": "Your Company Name", "expires": 1800 }'
{}
Generate and send One-Time Password (OTP) codes with customizable validation settings for secure user authentication.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The response is of type object.
object
Was this page helpful?