Validate otp

POST /otp/validate

validate otp

Body

  • id string

    otpID from /otp/make

  • otp string

    4 digit otp

Responses

  • Succes validate

  • Request Malfunction missing argument, properties or invalid data

  • Server Error

POST /otp/validate
curl \
 -X POST https://api.goove.id/v1/otp/validate \
 -H "X-API-KEY: $API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"id":"string","otp":"string"}'
Request example
{
  "id": "string",
  "otp": "string"
}
Request examples
{
  "id": "string",
  "otp": "string"
}
Response examples (400)
"string"
Response examples (400)
string
Response examples (500)
"string"
Response examples (500)
string