Getting started
Authentication
Pass your License Number and API Key with every request.
Every request must include your License Number and API Key. Pass them as query parameters (or in the body of a POST), or as headers.
Query parameters
LicenseNumberstringrequired | Your license number, shown on the Developer API page. |
|---|---|
APIKeystringrequired | Your API key, shown on the Developer API page. |
Example · text
https://console.tendigit.in/api/v1/ext/account-validity?LicenseNumber=YOUR_LICENSE&APIKey=YOUR_API_KEYHeaders
If you would rather keep credentials out of the URL, send them as headers instead:
http
X-License-Number: YOUR_LICENSE
X-API-Key: YOUR_API_KEYKeep the key secret
Anyone with your API key can send messages from your WhatsApp number and spend your wallet balance. Never put it in client-side code or a public repository. If it leaks, use Re-generate API key on the Developer API page; the old key stops working at once.
Authentication errors
401 API_AUTH_REQUIRED | The license number or API key was not sent. |
|---|---|
401 API_AUTH_INVALID | The license number or API key is wrong. |
403 ACCOUNT_INACTIVE | The account is suspended or expired. Renew the plan to continue. |