1. Home
  2. Developer API
Developer API

Connect HeyVarta to your own systems.

A secure WhatsApp API for developers: send WhatsApp order updates from your store, reply to customers from your CRM, keep contacts in sync and pull campaign results into your reports — with a simple REST API.

  • WhatsApp & Telegram
  • Scoped keys that expire
  • Safe retries
# Send an approved WhatsApp template
POST /api/v1/developer/messages/template
Authorization: Bearer hv_live_••••
Idempotency-Key: order-1042-shipped

{
  "to": "+919876543210",
  "template_id": "1234567890",
  "parameters": ["Riya", "#1042"]
}

# 200 OK
{ "status": "sent", "channel": "whatsapp" }
What you can build

Common ways businesses use the WhatsApp API

Order and booking updates

Send approved WhatsApp templates the moment an order ships or a booking is made.

Replies from your CRM

Answer WhatsApp and Telegram customers from the tools your team already uses.

Contact sync

Create and update contacts so HeyVarta always matches your customer list.

Campaign reporting

Pull delivery results of your broadcasts into your own dashboards.

Telegram bot replies

Read and reply in chats with people who started your bot.

Delivery status

Check whether each message was sent, delivered, read or failed.

How access works

Keys are created only inside HeyVarta.

The docs are public, but access never is. Only the workspace owner can create a key — it’s never sent by email or shown on this website.

  1. 1

    Owner creates a key

    In Developer → API keys: give it a name, tick only the permissions it needs and pick an expiry.

  2. 2

    Copy it once

    The full key is shown a single time. HeyVarta stores only a secure hash and the last four characters.

  3. 3

    Use it from your server

    Send it as Authorization: Bearer hv_live_… over HTTPS. Revoke it any time, or let it expire.

Developer · API keys
NameStore order updates
Permissionsmessages:template templates:read
ExpiresIn 90 daysActive
Keyhv_live_••••••••••••7c2e
Secure by default

Safe for your customers and your number

Least-privilege permissions

8 separate permissions — give each key only what it needs.

Keys that expire

30, 90, 180 days or 1 year, and revocable any time.

Never sent twice

Idempotency keys make retries safe.

Built-in safety limits

Rate limits and daily caps protect your WhatsApp number.

Opt-outs respected

Unsubscribed contacts are refused automatically.

Workspace isolation

A key can only reach its own workspace.

FAQ

Frequently asked questions

Is the API included in my plan?

The REST API is available on plans that include it; you’ll see Developer → API keys in HeyVarta when it’s on your plan.

Who can create API keys?

Only the workspace owner, inside HeyVarta. Agents can’t create keys.

Can I start WhatsApp conversations through the API?

Yes, with an approved template on an official Cloud API number. See the API docs for limits.

Do I need a developer?

The API is for developers. Without one, use HeyVarta’s flows, campaigns and integrations from the app.

Build on HeyVarta.

Read the docs, then create a scoped API key inside HeyVarta.