Skip to main content
POST
/
otp
/
code
/
validate
OTP Code - Validate Code
curl --request POST \
  --url https://api.crunchz.app/api/otp/code/validate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "contact_id": "[email protected]",
  "code": "123456"
}
'
{}

Authorizations

Authorization
string
header
required

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

Body

application/json
contact_id
string
required

Contact ID.

Required string length: 10 - 50
code
string
required

OTP Code.

Required string length: 4 - 8
Example:

"123456"

Response

  • Option 1
  • ValidateOtpCodeResource

The response is of type object.