heyita
API and webhooks

A simple WhatsApp API for your own software

Three endpoints, one header, plain JSON. Send WhatsApp messages from your app, website or backend in minutes, without dealing with Meta's Graph API directly.

Included in the one plan: ₹1,000 a month, every feature, unlimited team members.

What you get with api and webhooks

Send messages

Send a text inside the 24-hour window, or an approved template any time, with variables and a header image.

Add contacts

Create or update a contact with name, email, tags and custom fields from your signup or checkout.

List templates

Fetch your approved templates with their category, language and number of variables.

Signed webhooks

Receive incoming messages, delivery and read updates, new contacts and finished broadcasts.

API keys

Create named keys, see when each was last used, and remove any key in one click.

Clear errors

Plain error codes: bad input, bad key, plan not active, window closed, opted out, rate limited.

How it works

  1. 1

    Create an API key

    Go to Integrations, then API keys, and create a key. It starts with hy_live_ and is shown once.

  2. 2

    Call the API

    POST JSON to /api/v1/messages with your key in the Authorization header.

  3. 3

    Listen for events

    Add a webhook URL to receive replies and delivery updates as they happen.

Why use Heyita's API instead of Meta's

Meta's WhatsApp Cloud API is powerful but low-level: phone number IDs, access tokens that expire, template components in nested JSON, and webhooks you must verify and route yourself. Heyita handles all of that. Your code sends a phone number and a message; Heyita takes care of the rest.

Messages sent through the API appear in the team inbox like any other, so your team sees the full conversation and can take over when the customer replies. Contacts you add are available to broadcasts and chatbots straight away.

What the API covers

The API is small on purpose. Each endpoint does one job:

  • POST /api/v1/messages: send a text or template message
  • POST /api/v1/contacts: create or update a contact
  • GET /api/v1/templates: list your templates
  • Webhooks: message.received, message.status, contact.created, broadcast.finished

Safe by default

The API won't message a contact who has opted out, and it returns a clear error when the 24-hour window is closed so you know to send a template instead. Keys can be removed instantly if one leaks. Webhooks are signed with HMAC-SHA256 so your server can reject anything that didn't come from Heyita.

The API is part of the one Heyita plan at ₹1,000 a month. There's no per-call fee; Meta bills you directly for delivered messages at its own rates.

API and webhooks: common questions

Is there an extra charge for API access?

No. The API is included in the plan, with no per-call fee. Meta bills you directly for delivered messages at its own rates, with no markup from Heyita.

Can I send a free-form text through the API?

Yes, while the 24-hour window with that customer is open. Outside the window, WhatsApp requires a template, and the API returns error 409 so you know to send one.

Where do I find the API documentation?

The full reference, with curl, Node and Python examples, is on the API docs page at /developers.

Do messages sent by the API show in the inbox?

Yes. They appear in the contact's chat, so your team sees the whole conversation and can reply when the customer writes back.

Start sending on WhatsApp this week

Create your account, connect your number with Meta's own sign-up, and pay for the plan when you're ready to send.