Sends a voice challenge to the phone number specified in the path to verify that you own the number. The voice call contains a code that you must use to verify the number.
Found on your Sinch Customer Dashboard. Settings > Projects.
- Global APIhttps://imported.numbers.api.sinch.com/v1/projects/{projectId}/qualifiedNumbers/{phoneNumber}:sendVoiceChallenge
curl -i -X POST \
-u '<username>:<password>' \
'https://imported.numbers.api.sinch.com/v1/projects/d1923022-5199-4bb3-a513-c47b3a656bc5/qualifiedNumbers/+12025550134:sendVoiceChallenge'OK
The ID of the project to which the number belongs.
The global processing state of the qualified number.
| Enum Value | Description |
|---|---|
| GLOBAL_PROCESS_STATE_UNSPECIFIED | The state is unspecified. |
| GLOBAL_PROCESS_STATE_ELIGIBLE_CHECK_PENDING | The check for eligibility is pending. |
| GLOBAL_PROCESS_STATE_ELIGIBLE | The state is eligible. |
| GLOBAL_PROCESS_STATE_NOT_ELIGIBLE | The state is not eligible. |
| GLOBAL_PROCESS_STATE_VERIFICATION_PENDING | The state verification is pending. |
| GLOBAL_PROCESS_STATE_VERIFICATION_FAILED | The state verification failed. |
| GLOBAL_PROCESS_STATE_VERIFICATION_BLOCKED | The state verification is blocked. |
| GLOBAL_PROCESS_STATE_VERIFIED | The state is verified. |
| GLOBAL_PROCESS_STATE_HOSTING_IN_PROGRESS | Hosting process is in progress. |
| GLOBAL_PROCESS_STATE_HOSTING_DONE | Hosting process is done. |
| GLOBAL_PROCESS_STATE_HOSTING_FAILED | Hosting process failed. |
Details about the OSR eligibility, including the status of the OSR update, and the error if available.
Details about the ownership verification, including the status of the verification process and any error if available.
Details about the hosting status of a number, including any errors if available.
{ "phoneNumber": "+12025550134", "projectId": "abcd12ef-ab12-ab12-bc34-abcdef123456", "regionCode": "US", "globalProcessState": "GLOBAL_PROCESS_STATE_UNSPECIFIED", "osrEligibility": { "status": "DONE", "error": "string" }, "ownershipVerification": { "status": "DONE", "error": "string" }, "hostedNumber": { "status": 0, "error": "string" }, "createdTime": "2019-08-24T14:15:22Z", "updatedTime": "2019-08-24T14:15:22Z" }