InstantCode WhatsApp API will elevate your user verification process to new heights. With this powerful API, you can effortlessly send alphanumeric verification codes to the users of your platforms via WhatsApp, ensuring a swift and seamless experience. Customize your messages to reflect your brand by configuring your company name and service details, allowing your notifications to arrive with your branding!
Not only does the InstantCode WhatsApp API guarantee instant message delivery, but it also enables you to connect with users across the globe. Say goodbye to delays and hello to real-time communication, as you can reach out to customers worldwide with ease. Enhance security and build trust with your users by providing a reliable verification system that operates 24/7.
Whether you are securing a login attempt, verifying account setups, or confirming transactions, the InstantCode WhatsApp API is your go-to solution for efficient and effective user verification. Empower your platform with robust verification processes and improve your overall user experience today!
This endpoint enables you to send alphanumeric codes of up to 15 characters along with your company or service name directly to your users.
Send Code by Whatsapp - Endpoint Features
| Object | Description |
|---|---|
To |
[Required] Send the recipient number in this formar: whatsapp:+your_recipient_number |
ContentVariables |
[Required] Send your code and your company name in this format: {"1":"your_alphanumeric_code", "2":"your_name"} |
{"account_sid": "AC5059aeae37b56cd128fc0617bfb3c665", "api_version": "2010-04-01", "body": "", "date_created": "Wed, 30 Jul 2025 12:08:55 +0000", "date_sent": null, "date_updated": "Wed, 30 Jul 2025 12:08:55 +0000", "direction": "outbound-api", "error_code": null, "error_message": null, "from": null, "messaging_service_sid": "MG1740e550014eb19fc2e15f6368033479", "num_media": "0", "num_segments": "0", "price": null, "price_unit": null, "sid": "MM44df200657d8b6ff85aa2af94e28cead", "status": "accepted", "subresource_uris": {"media": "/2010-04-01/Accounts/AC5059aeae37b56cd128fc0617bfb3c665/Messages/MM44df200657d8b6ff85aa2af94e28cead/Media.json"}, "to": "whatsapp:+6285729004101", "uri": "/2010-04-01/Accounts/AC5059aeae37b56cd128fc0617bfb3c665/Messages/MM44df200657d8b6ff85aa2af94e28cead.json"}
curl --location --request POST 'https://zylalabs.com/api/4845/instantcode+whatsapp+api/6064/send+code+by+whatsapp?To=whatsapp:+17132590671&ContentVariables={"1":"12345-ABCDE", "2":"Zylalabs"}' --header 'Authorization: Bearer YOUR_API_KEY'
| 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.
The InstantCode WhatsApp API allows you to send one-time verification codes (OTPs) to your users via WhatsApp, enhancing security and improving the user experience on your platforms.
You can send codes of up to **15 digits** in each message.
You can set your company name or service with a maximum length of 15 characters in each message.
If the message appears as sent in the API response, it means it has been successfully sent from WhatsApp. If the recipient does not receive it, they may have blocked the number or WhatsApp messages.
No, you can only customize the alphanumeric code and your company or service name. You cannot modify the structure of the message.
The API allows you to send one message per request. If you need to send multiple OTPs, you must make separate requests for each one.
Yes, you can send OTPs to WhatsApp users across the globe, provided you comply with WhatsApp's messaging regulations and policies.
The Send Code by WhatsApp endpoint returns a JSON response indicating the status of the message delivery, including success or failure, and any relevant error messages if applicable.
The key fields in the response data typically include "status" (indicating success or failure), "messageId" (the unique identifier for the sent message), and "error" (providing details if the message failed to send).
The parameters include "phoneNumber" (recipient's WhatsApp number), "code" (the alphanumeric verification code), and "companyName" (your brand name to be displayed).
The response data is organized in a JSON format, with fields clearly labeled for easy interpretation. For example, a successful response may look like: {"status": "success", "messageId": "12345"}.
The endpoint provides information about the delivery status of the verification code, including whether it was successfully sent or if there were any errors encountered during the process.
Users can customize their requests by specifying the recipient's phone number, the verification code, and their company name, allowing for tailored messaging that reflects their brand.
Typical use cases include sending OTPs for user logins, verifying account setups, and confirming transactions, enhancing security and user trust in various applications.
Data accuracy is maintained through WhatsApp's messaging infrastructure, which ensures that messages are sent reliably. Additionally, the API provides feedback on delivery status, allowing users to address any issues promptly.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
To obtain your API key, you first need to sign in to your account and subscribe to the API you want to use. Once subscribed, go to your Profile, open the Subscription section, and select the specific API. Your API key will be available there and can be used 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.
If you don’t cancel before the 7th day, your free trial will end automatically and your subscription will switch to a paid plan under the same plan you originally subscribed to, meaning you will be charged and gain access to the API calls included in that plan.
The free trial ends when you reach 50 API requests or after 7 days, whichever comes first.
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, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost, so you can test our APIs without any commitment.
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.
Service Level:
100%
Response Time:
136ms
Service Level:
100%
Response Time:
998ms
Service Level:
82%
Response Time:
2,073ms
Service Level:
100%
Response Time:
351ms
Service Level:
100%
Response Time:
1,567ms
Service Level:
100%
Response Time:
847ms
Service Level:
100%
Response Time:
3,023ms
Service Level:
100%
Response Time:
3,091ms
Service Level:
100%
Response Time:
1,052ms
Service Level:
100%
Response Time:
666ms
Service Level:
100%
Response Time:
734ms
Service Level:
100%
Response Time:
521ms
Service Level:
100%
Response Time:
1,158ms
Service Level:
100%
Response Time:
511ms
Service Level:
100%
Response Time:
1,158ms
Service Level:
100%
Response Time:
627ms
Service Level:
100%
Response Time:
1,158ms
Service Level:
100%
Response Time:
1,158ms
Service Level:
100%
Response Time:
1,158ms
Service Level:
100%
Response Time:
1,711ms