WAMANAGER

Search Documentation

Search through pages and content

Getting Started with WAMANAGER API

The WAMANAGER allows you to send WhatsApp messages to your customers globally. This guide will help you set up authentication, verify your business credentials, and send your first message.

Base URL

All requests to the API should be made to the following base URL:

https://wa-manager-api.stylesterstore.com

Getting Your Access Token

Before sending any WhatsApp message, make sure your business account has valid credentials configured in your WAMANAGER Panel. These credentials are required to authenticate requests and ensure message delivery.

  1. Log in to your WAMANAGER Panel.
  2. Navigate to Business Settings → External API Token.
  3. Click on Generate Token to create a new access token.
  4. Copy and securely store your token — it will be used in your API requests.

Required Business Credentials

Make sure the following business details are correctly configured in your panel before using the API:

FieldDescription
phone_number_idYour WhatsApp Business phone number ID (required for all message sends).
app_idMeta application ID linked to your WhatsApp Business Account.
waba_idWhatsApp Business Account ID (WABA ID) associated with your business.
verify_tokenUsed for verifying webhook URLs when setting up message webhooks.
access_tokenPermanent access token used for all API requests to Meta’s endpoints.
external_api_tokenGenerated via your WAMANAGER Panel — required to authenticate all Business Messaging API requests.

⚠️ Important: Make sure phone_number_id and access_token are valid and not empty. Incorrect or missing credentials will result in message delivery failures.

ℹ️ Note: There is an option in the Vendor Panel (Profile Settings) to control whether you want to sync chats or not. You can enable or disable chat synchronization from connected channels into your conversation based on your preferences.

Supported Message Types

The Business Messaging API supports various message types to help you communicate effectively with your audience:

TypeDescription
Text MessageSend plain text messages with optional link previews.
Media MessageSend images, videos, audio, or documents.
Sticker MessageSend brand stickers or fun visuals.
Location MessageShare store or meeting locations.
Contact MessageSend customer or business contact details (vCards).
Template MessageSend approved templates through Meta.

Example Request

Below is an example of sending a text message using the API.

cURL
curl -X POST '<BASE_URL>/api/whatsapp/text' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <ACCESS_TOKEN>' \
-d '{
  "to": "+16505551234",
  "body": "Hello, this is a test message from WAMANAGER!",
  "preview_url": true
}'
⚠️ Note: Make sure the recipient phone number (to field) is registered under your Meta WhatsApp Business Account. Messages sent to numbers that are not registered or not opted in will not be delivered.

Sample Response

{ "success": true, "message": "WhatsApp message sent successfully", "response": { "messaging_product": "whatsapp", "contacts": [ { "input": "+16505551234", "wa_id": "+16505551234" } ], "messages": [ { "id": "wamid.HBgMOTE3Njk4NzI4ODc4FQIAERgSOUU4NTI4MzRBMEI1QkQ0MjBFAA==" } ] } }