Why this page exists
Most integration issues are not coding issues. They usually come from unclear terms:- what is an instance?
- what is the difference between
instanceId,name, andwaNumber? - what is an API key?
- what is a webhook?
- what is a payload?
System overview
MsgFlash connects three layers:- your MsgFlash account
- one or more connected WhatsApp numbers
- your technical integrations (backend, WordPress, Zapier, etc.)
- Create a WhatsApp instance
- Connect a real WhatsApp number to it
- Generate an API key
- Call MsgFlash API from your backend
- MsgFlash sends through the selected instance
WhatsApp instance
A WhatsApp instance is a WhatsApp number connected to MsgFlash. It is not:- a user
- an API key
- a template
- a campaign
instanceId vs name vs waNumber
| Field | Meaning |
|---|---|
instanceId | technical identifier used in API calls |
name | human-readable label in the dashboard |
waNumber | connected WhatsApp number |
GET /api/v1/instances:
id as instanceId.
API key
An API key is the secret used to authenticate your requests. Example:Webhook
A webhook is an endpoint in your system that MsgFlash calls automatically when events happen. Example endpoint:Campaign vs scheduled message
- Scheduled message: one recipient, sent later
- Campaign: same message pattern to many recipients
QR code
The QR code is used only to connect WhatsApp (like WhatsApp Web). Flow:- Create instance
- Scan QR code from phone
- Instance becomes connected
Quotas
A quota is a limit from your plan. Examples:- monthly messages
- monthly API requests
- max instances
- max API keys
| Type | Example |
|---|---|
| monthly quotas | messages, statuses, API requests |
| capacity limits | instances, API keys, webhooks |
Payload
A payload is the JSON body sent to or returned by the API. Example send payload:Quick glossary
- Instance: connected WhatsApp number
- instanceId: technical ID to send in API calls
- API key: secret used for auth
- Webhook: URL called by MsgFlash on events
- Campaign: one operation targeting many contacts
- Scheduled message: delayed single-recipient message
- Quota: allowed usage limits
- Payload: JSON body in requests/responses