The batch query feature lets you query multiple phone numbers in a single operation. This feature supports all tags that are enabled for your Alibaba Cloud account.
Prerequisites
-
You have completed enterprise verification for your Alibaba Cloud account and activated the Phone Number Verification Service.
-
You have enabled the required tags, such as
number status check. Different tags may require different application materials depending on the use case. Before you apply, read the instructions on application materials. -
Before you use this feature, review the product pricing for the relevant tags.
Procedure
This topic uses the number status check feature to demonstrate how to query the real-time network status of multiple phone numbers in a batch. The procedure is similar for other tags.
-
Log on to the Phone Number Verification Service console.
-
In the left-side navigation pane, choose Offline Task > Batch Query.
-
On the Batch Query page, click Add Query Task.
-
In the Add Query Task dialog box:
-
Select a Tag (for example, Number Status Check - General), select the Authorization ID, and enter a Task Name. You can find your authorization ID on the My Applications page in the console.
Click Download Template. You will later use Upload File and Add to submit the completed template. You can upload a file with up to 2.5 million phone numbers.
-
Open the downloaded template and fill in the required fields. For guidance, refer to the parameter descriptions in the Number Status Check (General) API.
NoteWhen performing a batch query for other tags, fill in the template fields by following the request parameter descriptions in the corresponding API.
-
Click Upload File and Add to upload the completed template, and then click OK.
-
-
On the Batch Query page, wait for your task's Task Status to become Processing Completed. Then, in the Actions column, click View Details.
-
On the View Details page, click Export Query Results. For details about the query results for different features, see Features.