POST
Submit phone verification

Authorizations

x-api-key
string
header
required

Headers

x-tenant
string
required

Tenant identifier

Path Parameters

entityId
string
required

Body

application/json
otp
number
required
sessionId
string
required
lang
enum<string>
Available options:
Ar,
En

Response

Success

success
boolean
required

Indicates whether the submitted OTP was successful

Example:

true

message
object
required

Message returned after submitting OTP. Can be a simple string or structured error message

Example:

"OTP verified successfully"

errorCode
string

Optional error code returned in case of failure

Example:

"INVALID_OTP"