{"status":200,"success":true,"message":"","data":[{"countryCode":"1","countryName":"United States\n "},{"countryCode":"1","countryName":"Canada\n "},{"countryCode":"370","countryName":"Lithuania\n "},{"countryCode":"44","countryName":"United Kingdom\n "},{"countryCode":"34","countryName":"Spain\n "},{"countryCode":"380","countryName":"Ukraine\n "},{"countryCode":"972","countryName":"Israel\n "},{"countryCode":"230","countryName":"Mauritius\n "},{"countryCode":"91","countryName":"India\n "},{"countryCode":"385","countryName":"Croatia\n "},{"countryCode":"351","countryName":"Portugal\n "},{"countryCode":"66","countryName":"Thailand\n "},{"countryCode":"381","countryName":"Serbia\n "},{"countryCode":"52","countryName":"Mexico\n "},{"countryCode":"55","countryName":"Brazil\n "},{"countryCode":"234","countryName":"Nigeria\n "}]}
curl --location --request GET 'https://zylalabs.com/api/4955/phone+number+utility+api/6241/get+countries' --header 'Authorization: Bearer YOUR_API_KEY'
{"status":200,"success":true,"message":"","data":["917428730894","917428723247"]}
curl --location --request GET 'https://zylalabs.com/api/4955/phone+number+utility+api/6242/get+number+by+country+id?countryCode=1' --header 'Authorization: Bearer YOUR_API_KEY'
{"status":404,"success":false,"message":"Phone number does not exist on our Database.","data":[]}
curl --location --request GET 'https://zylalabs.com/api/4955/phone+number+utility+api/6243/check+sms+history?countryCode=1&phoneNumber=18578329806' --header 'Authorization: Bearer YOUR_API_KEY'
After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Phone Number Utility API simply include your bearer token in the Authorization header.
| Header | Description |
|---|---|
Authorization
|
Required
Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.
|
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
(Save 2 months with annual billing 🎉)
Trusted by leading companies
The Phone Number Utility API allows you to effortlessly create virtual phone numbers in various countries. This API is especially advantageous for applications that require phone verification, as it simplifies the process of generating phone numbers that can receive SMS messages.
One of the main advantages of the Phone Number Utility API is its flexibility. It supports numerous countries, making it possible to create virtual phone numbers for locations all over the world. This makes it an invaluable resource for applications that operate on an international scale or need verification in multiple regions.
The API also stands out for its ease of use. Users can generate a virtual phone number with just a few API calls, specifying the country and other parameters as needed. The API then provides a unique phone number for SMS verification, effectively streamlining the process.
Overall, the Phone Number Utility API is an essential tool for developers who need virtual phone numbers for SMS verification. Its combination of flexibility, ease of use and robust security makes it an essential resource for applications that require phone verification in multiple countries.
Call the API to receive a generated phone number, and check the sms received as well.
SMS Verification: One of the most common use cases for the Phone Number Utility API is SMS verification. Many applications require users to verify their phone numbers by entering a code sent to their phone via SMS. The API can be used to generate virtual phone numbers for this purpose, allowing users to receive the verification code without having to share their personal phone number.
Customer Support: The Phone Number Utility API can also be used in customer support applications. By generating a virtual phone number, businesses can provide customers with a phone number to call for support without having to share their personal phone number. This can help to protect the privacy of both the business and the customer.
Marketing Campaigns: Virtual phone numbers generated by the API can also be used in marketing campaigns. Businesses can use the numbers to track the effectiveness of their campaigns by assigning different numbers to different campaigns or channels. This can help businesses to better understand which marketing channels are most effective for reaching their target audience.
Fraud Prevention: The Phone Number Utility API can also be used for fraud prevention. By generating a virtual phone number for a user, businesses can ensure that the user is not using a fake or fraudulent phone number. This can help to prevent fraud in applications such as financial software, where verifying the identity of the user is critical.
International Expansion: Finally, the Phone Number Utility API can be used for international expansion. By generating virtual phone numbers for different countries, businesses can expand their operations into new regions without having to establish a physical presence. This can be particularly useful for online businesses or startups that are looking to expand globally.
Besides the number of API calls, there is no other limitation
The Phone Number Utility API allows users to generate virtual phone numbers for various countries. By making API calls, developers can request a phone number and specify parameters such as the country. The API then returns a generated phone number that can be used for SMS verification.
To generate a virtual phone number, you need to call the API without any specific input parameters. The API will automatically generate a phone number for you.
The API provides a generated phone number as output. This phone number can be used for SMS verification purposes. Developers can receive SMS messages sent to the generated phone number and use them for phone verification in their applications.
Yes, the Phone Number Utility API supports a wide range of countries. You can specify the desired country as a parameter when making the API call. This allows you to generate phone numbers for specific countries or regions as needed.
Yes, the API prioritizes user privacy and security. It incorporates advanced encryption and authentication techniques to ensure the safe and secure generation and usage of phone numbers. The API is designed to protect user privacy and prevent fraud, making it a secure option for generating virtual phone numbers for SMS verification.
The "Get Countries" endpoint returns a list of available countries along with their corresponding country codes. The response includes fields such as "countryCode" and "countryName," allowing users to identify which countries they can generate phone numbers for.
The "Get Number by Country Id" endpoint provides a list of currently available phone numbers for a specified country. The response includes an array of phone numbers that can be used for SMS verification, enabling users to select a number for their needs.
The response from the "Check SMS history" endpoint is organized into fields such as "status," "success," "message," and "data." The "data" field contains an array of SMS messages received, while "status" indicates the success of the request, helping users understand the outcome of their query.
The "Get Number by Country Id" endpoint requires a country ID as a parameter to retrieve available phone numbers. Users must specify the correct country ID obtained from the "Get Countries" endpoint to ensure accurate results.
Users can utilize the returned data by integrating the generated phone numbers into their applications for SMS verification, customer support, or marketing campaigns. The unique phone numbers allow for secure communication without sharing personal information.
If the "Check SMS history" endpoint returns an empty result, it indicates that no SMS messages have been received for the specified number. Users should verify that they are using the correct phone number and country code, and ensure that SMS messages were sent to that number.
The API maintains data accuracy by sourcing phone numbers from reliable telecommunications providers and regularly updating its database. This ensures that the generated numbers are valid and capable of receiving SMS messages for verification purposes.
Common use cases include SMS verification for user accounts, providing customer support without revealing personal numbers, tracking marketing campaign effectiveness, and preventing fraud by verifying user identities through generated phone numbers.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund