Skip to main content
This quickstart verifies your credentials and sends a WhatsApp template message through the Eazybe Meta API.

Prerequisites

  • An Eazybe organization with a connected WhatsApp Business Account
  • An Eazybe bearer token — this is your organization’s Access code in Eazybe WorkspaceStaffOrganization Details. See how to find your bearer token.
  • An approved WhatsApp message template
  • A recipient who has opted in to receive messages
1

Set your API host and token

Set the Eazybe staging API v2 base URL and your bearer token.
Keep both values in server-side environment variables or a secrets manager.
2

Discover your WABA and phone-number IDs

Save:
  • accounts[].waba_id as your wabaId
  • accounts[].phone_numbers[].id as your phoneNumberId
A WABA with status: false needs to be reconnected. Other connected WABAs can still be used.
3

Confirm that your template is approved

List all templates connected to the WABA:
Find the template you want to send and confirm that its status is APPROVED.
4

Send the template

Replace the path ID, recipient, template name, language, and parameters with your values.
Store messages[0].id. You will use this wamid for read receipts, reactions, typing indicators, and delivery reconciliation.
5

Subscribe to inbound events

Subscribe the WABA to your callback:
Your callback must answer Meta’s verification request with the supplied hub.challenge, then process standard WhatsApp webhook payloads.

Next steps

Send messages

Explore template, free-form, bulk, media, contact, and interaction operations.

Manage templates

List, create, edit, migrate, compare, and delete templates.