Skip to main content
POST
/
api
/
auth
/
verify-otp
Verify OTP
curl --request POST \
  --url http://localhost:8080/api/auth/verify-otp \
  --header 'Content-Type: application/json' \
  --data '
{
  "identifier": "user@example.com",
  "code": "123456",
  "device_id": "<string>",
  "trace_id": "<string>"
}
'
{
  "success": true,
  "data": {
    "verification_token": "<string>"
  }
}

Body

application/json
identifier
string
required
Example:

"user@example.com"

code
string
required
Example:

"123456"

device_id
string
trace_id
string

Response

200 - application/json

Verification result

success
boolean
data
object