Skip to main content
POST
/
v1
/
people
/
{personId}
/
phones
/
{phoneId}
/
verify
Verify phone number
curl --request POST \
  --url https://api.wellapp.ai/v1/people/{personId}/phones/{phoneId}/verify \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "workspace_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'
{
  "code": "UNAUTHORIZED",
  "status": 401,
  "title": "Unauthorized",
  "message": "You are not authorized to access this resource",
  "meta": {
    "log_id": "65c669d4-679c-4a8b-b8c0-fbe37699bb5b"
  }
}

Headers

Authorization
string
required

Bearer token for authentication

Path Parameters

personId
string<uuid>
required

UUID of the person

phoneId
string<uuid>
required

UUID of the phone to verify

Body

application/json
workspace_id
string<uuid>

UUID of the workspace. If not provided, the workspace from the bearer token will be used.

Response

Verification code sent successfully