Skip to content
Ten Digit

Getting started

Introduction

What the WhatsApp API does and how a request looks.

The WhatsApp API lets your own systems send WhatsApp messages through your connected WhatsApp Business number. Every call is a simple HTTPS request with your License Number and API Key, so it works from any language, a no-code tool or even a browser address bar.

What you can do

  • Send approved template messages with variables, header media and buttons
  • Send text, media, button and list messages inside the 24-hour window
  • Check whether your account is active and whether a conversation window is open
  • Receive replies and delivery updates on a webhook (Enterprise plan)

Base URL

Every endpoint lives under your base URL:

text
https://console.tendigit.in/api/v1/ext

Your first request

This sends a text message. Replace the license, key and number with your own:

curl -G "https://console.tendigit.in/api/v1/ext/send-text" \
  --data-urlencode "LicenseNumber=YOUR_LICENSE" \
  --data-urlencode "APIKey=YOUR_API_KEY" \
  --data-urlencode "Contact=919876543210" \
  --data-urlencode "Message=Hello from our team"

A successful call answers straight away with the queued message:

Response · json
{
  "success": true,
  "messageId": "cmt8z1abc0001xyz",
  "status": "QUEUED"
}

Find your credentials

Your License Number and API Key are on the Developer API page. Keep the API key private and call the API from your server, never from a web page or app.

Where to go next