Skip to main content
PUT
/
phone
/
verify
Validate a user's phone number
curl --request PUT \
  --url https://staging-api.getpartna.com/v4/phone/verify \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --header 'x-api-user: <api-key>' \
  --data '
{
  "phoneID": "",
  "verificationMethod": ""
}
'
{
  "data": {
    "maskedPhoneNumber": "+25475****600",
    "phoneID": "506e46b8e67f4f4bbdda96b3ee3295d1"
  },
  "message": "verification method set successfully"
}

Authorizations

x-api-key
string
header
required
x-api-user
string
header
required

Body

application/json
phoneID
string
required
verificationMethod
enum<string>
required
Available options:
sendotp,
receiveotp

Response

200 - application/json

choose phone verification method ok

data
object
message
string