POST
/
otp
/
code
/
request
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
}'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200
application/json

The response is of type object.