Phone Unlock Status API

Poll the status of a personal phone unlock request.
ENDPOINTS
POST /api/v1/businessContact/contact/phone/status

Request parameters

person_id

string

The person ID to check unlock status for

  • Required: Yes
  • Example: 5a1b2c3d4e5f000000000001
Request Example
{ "person_id": "5a1b2c3d4e5f000000000001" }
curl https://api.tradedata.io/api/v1/businessContact/contact/phone/status \
  -H "Authorization: Bearer yourTokenHere" \
  -H "Content-Type: application/json" \
  -d '{"person_id": "5a1b2c3d4e5f000000000001"}'

Response parameters

data.status

string

Current unlock status

  • Example: locked
ValueMeaning
lockedPhone is locked — either no unlock has been requested, or the unlock is still in progress
unlockedUnlock succeeded, phoneNumbers is populated
failedCallback was received but no valid phone number was returned

data.phoneNumbers

array<string>

Phone number list. Only present when status is unlocked

  • Example: ["+6555500000"]
Response Example — locked
{
  "code": 200,
  "data": { "status": "locked" },
  "msg": "OK"
}
Response Example — unlocked
{
  "code": 200,
  "data": {
    "status": "unlocked",
    "phoneNumbers": ["+6555500000", "+6555500001"]
  },
  "msg": "OK"
}
Response Example — failed
{
  "code": 200,
  "data": { "status": "failed" },
  "msg": "OK"
}

Polling guidance

Poll at 5–10 second intervals. The callback typically arrives within 30–120 seconds. Stop polling once status is unlocked or failed.