meetergo WhatsApp V4 API
Send and receive WhatsApp messages by phone number and read conversation history
Send and receive WhatsApp messages by phone number and read conversation history
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/meetergo-com:meetergo-com-whatsapp-v4-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: meetergo Platform WhatsApp V4 API
description: 'Scheduling, CRM and invoicing in one API: create users, manage availability and bookings, connect calendars, keep contacts and deals in sync, and take an offer through to a paid invoice.'
version: 3.274.0
contact: {}
termsOfService: https://www.meetergo.com/tos/
servers:
- url: https://api.meetergo.com
tags:
- name: WhatsApp V4
description: Send and receive WhatsApp messages by phone number and read conversation history
paths:
/v4/whatsapp/ping:
get:
description: Lightweight authenticated check that your API key works and the WhatsApp add-on is active.
operationId: ping
parameters: []
responses:
'200':
description: The API key is valid.
'401':
$ref: '#/components/responses/Unauthorized'
'403':
description: API Platform subscription or WhatsApp add-on missing.
'429':
$ref: '#/components/responses/TooManyRequests'
security:
- ApiUserHeader: []
- JWT: []
- ApiKey: []
summary: Connection test
tags:
- WhatsApp V4
/v4/whatsapp/messages:
post:
description: Sends a text, template, or media message addressed by phone number. The conversation is created or reused automatically. Free-form text and media require an open 24-hour customer-service window (since the contact last messaged you); approved templates can be sent anytime. Outside the window, text/media return 403 — send a template to re-engage.
operationId: sendMessage
parameters: []
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/SendWhatsappMessageV4Dto'
responses:
'201':
description: Message accepted by WhatsApp.
content:
application/json:
schema:
$ref: '#/components/schemas/WhatsappMessageResource'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
description: WhatsApp add-on missing, or the 24h window is closed for a text/media send.
'429':
$ref: '#/components/responses/TooManyRequests'
security:
- ApiUserHeader: []
- JWT: []
- ApiKey: []
summary: Send a WhatsApp message
tags:
- WhatsApp V4
get:
description: Forward feed of messages created after `since`, oldest first. A fallback for callers that cannot host a webhook. Track the returned `nextSince` and pass it back to advance. Defaults to inbound only. `since` is millisecond-granular; for guaranteed no-skip delivery prefer the `whatsapp_message_received` webhook.
operationId: pollMessages
parameters:
- name: since
required: true
in: query
description: ISO 8601 timestamp. Returns messages strictly after it.
schema:
example: '2026-06-25T10:00:00.000Z'
type: string
- name: limit
required: false
in: query
schema:
type: number
- name: direction
required: false
in: query
description: Defaults to `inbound`. Use `all` for both directions.
schema:
enum:
- inbound
- outbound
- all
type: string
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/WhatsappMessageFeedResource'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'429':
$ref: '#/components/responses/TooManyRequests'
security:
- ApiUserHeader: []
- JWT: []
- ApiKey: []
summary: Poll for messages
tags:
- WhatsApp V4
/v4/whatsapp/senders:
get:
description: Choose a phoneNumberId for new messages. Omitting it uses the original default connection. Replies stay with their conversation sender.
operationId: listSenders
parameters: []
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/WhatsappSenderListResource'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'429':
$ref: '#/components/responses/TooManyRequests'
security:
- ApiUserHeader: []
- JWT: []
- ApiKey: []
summary: List WhatsApp business senders
tags:
- WhatsApp V4
/v4/whatsapp/templates:
get:
description: 'Returns the WhatsApp message templates configured for your number. Use an APPROVED template’s `name`, `language`, and `variableCount` to send it via POST /messages with `type: "template"`.'
operationId: listTemplates
parameters:
- name: phoneNumberId
required: false
in: query
description: Business sender. Omit for the original default connection.
schema:
type: string
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/WhatsappTemplateListResource'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'429':
$ref: '#/components/responses/TooManyRequests'
security:
- ApiUserHeader: []
- JWT: []
- ApiKey: []
summary: List message templates
tags:
- WhatsApp V4
/v4/whatsapp/conversations:
get:
description: Lists conversations newest-first (cursor-paginated), or returns all conversations for an exact `phone` match, one per business sender.
operationId: listConversations
parameters:
- name: limit
required: false
in: query
schema:
type: number
- name: cursor
required: false
in: query
schema:
type: string
- name: phone
required: false
in: query
description: Return conversations for this exact contact number across business senders.
schema:
type: string
- name: status
required: false
in: query
description: Defaults to `all` for the API (both open and archived).
schema:
enum:
- open
- done
- all
type: string
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/WhatsappConversationListResource'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'429':
$ref: '#/components/responses/TooManyRequests'
security:
- ApiUserHeader: []
- JWT: []
- ApiKey: []
summary: List conversations
tags:
- WhatsApp V4
/v4/whatsapp/conversations/{id}:
get:
operationId: getConversation
parameters:
- name: id
required: true
in: path
schema:
type: string
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/WhatsappConversationResource'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
description: Not found.
'429':
$ref: '#/components/responses/TooManyRequests'
security:
- ApiUserHeader: []
- JWT: []
- ApiKey: []
summary: Get a conversation
tags:
- WhatsApp V4
/v4/whatsapp/conversations/{id}/messages:
get:
description: Newest-first, cursor-paginated.
operationId: listMessages
parameters:
- name: id
required: true
in: path
schema:
type: string
- name: limit
required: false
in: query
schema:
type: number
- name: cursor
required: false
in: query
schema:
type: string
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/WhatsappMessageListResource'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'429':
$ref: '#/components/responses/TooManyRequests'
security:
- ApiUserHeader: []
- JWT: []
- ApiKey: []
summary: List messages in a conversation
tags:
- WhatsApp V4
components:
schemas:
WhatsappSenderListResource:
type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/WhatsappSenderResource'
required:
- data
WhatsappMediaPayloadDto:
type: object
properties:
url:
type: string
maxLength: 2048
format: uri
description: Public HTTPS URL of the media to send. Must be reachable by WhatsApp (e.g. a presigned URL). HTTP is rejected.
example: https://files.example.com/invoice.pdf
mimeType:
type: string
maxLength: 255
pattern: /^[\w.+-]+\/[\w.+-]+$/
description: MIME type of the media. Determines how WhatsApp renders it.
example: application/pdf
filename:
type: string
maxLength: 255
description: Original filename, shown for documents.
example: invoice.pdf
caption:
type: string
maxLength: 1024
description: Caption shown beneath images, videos and documents.
required:
- url
- mimeType
WhatsappTemplatePayloadDto:
type: object
properties:
name:
type: string
maxLength: 512
description: Approved template name as registered in WhatsApp Manager.
example: appointment_reminder
language:
type: string
maxLength: 35
description: Template language/locale code.
example: en_US
params:
description: Positional values substituted into the template body placeholders ({{1}}, {{2}}, ...).
example:
- John
- Tuesday at 10:00
type: array
items:
type: string
buttonUrlParams:
type: object
description: Dynamic URL-button suffixes keyed by zero-based button index, for templates with dynamic URL buttons.
example:
'0': cancel/abc123
required:
- name
- language
WhatsappTemplateResource:
type: object
properties:
name:
type: string
description: Template name (pass as `template.name`).
language:
type: string
description: Language/locale code (pass as `template.language`).
status:
type: string
enum:
- APPROVED
- PENDING
- REJECTED
- PAUSED
description: Approval status. Only APPROVED templates can be sent.
category:
type: string
enum:
- MARKETING
- UTILITY
- AUTHENTICATION
description: Template category.
variableCount:
type: number
description: Number of positional placeholders ({{1}}, {{2}}, ...) in the body — the length of the `params` array to send.
body:
type: string
description: Body text with its {{n}} placeholders, so you know what the message says.
required:
- name
- language
- status
- variableCount
WhatsappConversationResource:
type: object
properties:
phoneNumberId:
type:
- string
- 'null'
description: Business sender phone ID. Null identifies the original company default.
id:
type: string
description: Conversation id.
phone:
type:
- string
- 'null'
description: Contact phone number in E.164 format. Null when the contact has adopted a WhatsApp username and withheld their phone; use `userId`.
userId:
type:
- string
- 'null'
description: Business-Scoped User ID (BSUID), the stable identity used to send when no phone is known.
username:
type:
- string
- 'null'
description: WhatsApp @username the contact has adopted, if any.
contactName:
type: string
description: Contact name from the WhatsApp profile.
contactId:
type: string
description: Linked meetergo CRM contact id, if any.
windowOpen:
type: boolean
description: Whether the 24-hour customer-service window is currently open. When false, only template messages are accepted.
windowExpiresAt:
format: date-time
type: string
description: When the 24h window expires (ISO 8601). Absent if no window.
lastMessageAt:
format: date-time
type: string
description: Timestamp of the most recent message.
lastMessagePreview:
type: string
description: Preview text of the last message.
lastMessageDirection:
type: string
enum:
- inbound
- outbound
status:
type: string
enum:
- open
- done
description: Lifecycle status. `done` conversations are archived.
labels:
description: Conversation labels.
type: array
items:
type: string
createdAt:
format: date-time
type: string
description: When the conversation was created.
required:
- id
- windowOpen
- lastMessageAt
- lastMessageDirection
- status
- createdAt
WhatsappSenderResource:
type: object
properties:
phoneNumberId:
type: string
phoneNumber:
type:
- string
- 'null'
displayName:
type:
- string
- 'null'
isDefault:
type: boolean
available:
type: boolean
required:
- phoneNumberId
- phoneNumber
- displayName
- isDefault
- available
WhatsappMessageListResource:
type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/WhatsappMessageResource'
nextCursor:
type: string
description: Cursor for the next page (pass as `cursor`). Absent on last page.
required:
- data
WhatsappMessageResource:
type: object
properties:
id:
type: string
description: meetergo message id.
conversationId:
type: string
description: Conversation this message belongs to.
waMessageId:
type: string
description: WhatsApp's own message id (wamid).
direction:
type: string
enum:
- inbound
- outbound
type:
type: string
description: Message kind (text, image, document, template, ...).
status:
type: string
enum:
- pending
- sent
- delivered
- read
- failed
description: Delivery status. Inbound messages are always `delivered`.
text:
type: string
description: Text body, or the caption for a media message.
mediaUrl:
type: string
description: URL of the attached media, if any.
mediaMimeType:
type: string
description: MIME type of the attached media.
mediaFilename:
type: string
description: Filename of the attached document.
templateName:
type: string
description: Template name, for template messages.
errorMessage:
type: string
description: Failure reason from WhatsApp, set when `status` is `failed`.
createdAt:
format: date-time
type: string
description: When the message was created (ISO 8601).
required:
- id
- conversationId
- waMessageId
- direction
- type
- status
- createdAt
WhatsappConversationListResource:
type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/WhatsappConversationResource'
nextCursor:
type: string
description: Cursor for the next page (pass as `cursor`). Absent on last page.
required:
- data
SendWhatsappMessageV4Dto:
type: object
properties:
phoneNumberId:
type: string
description: Registered business sender phone ID. Omit to use the original company default.
to:
type: string
maxLength: 140
description: 'Recipient address: a phone number (E.164 preferred, e.g. "+491234567890"; "00" prefixes and separators are normalized) or a WhatsApp business-scoped user id (BSUID, e.g. "US.13491208655302741918") for contacts who have adopted a WhatsApp username.'
example: '+491234567890'
type:
description: Which kind of message to send.
allOf:
- $ref: '#/components/schemas/WhatsappMessageKind'
contactName:
type: string
maxLength: 255
description: Contact name to set when a new conversation is created for this number.
text:
type: string
maxLength: 4096
description: Message body. Required when `type` is `text`.
example: Hi! Your order has shipped.
template:
description: Template payload. Required when `type` is `template`.
allOf:
- $ref: '#/components/schemas/WhatsappTemplatePayloadDto'
media:
description: Media payload. Required when `type` is `media`.
allOf:
- $ref: '#/components/schemas/WhatsappMediaPayloadDto'
required:
- to
- type
WhatsappTemplateListResource:
type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/WhatsappTemplateResource'
required:
- data
WhatsappMessageFeedResource:
type: object
properties:
data:
description: Messages created after `since`, oldest first.
type: array
items:
$ref: '#/components/schemas/WhatsappMessageResource'
nextSince:
type: string
description: Pass back as `since` to fetch the next batch. Present only when the page was full (more may be waiting).
required:
- data
WhatsappMessageKind:
type: string
enum:
- text
- template
- media
description: Which kind of message to send.
ApiError:
type: object
required:
- statusCode
- message
properties:
statusCode:
type: integer
example: 400
message:
oneOf:
- type: string
- type: array
items:
type: string
description: A sentence, or the list of field constraints that failed. Validation errors name the offending property.
example:
- limit must not be greater than 100
error:
type: string
example: BadRequestException
responses:
NotFound:
description: No such resource in your account. Resources belonging to another account are reported the same way.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
Unauthorized:
description: Missing, malformed, or expired credentials.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
TooManyRequests:
description: Rate limited. Back off and retry.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
BadRequest:
description: The request did not validate. `message` lists the constraints that failed.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
Forbidden:
description: 'Authenticated, but not allowed: the plan does not include this feature, or the token is scoped away from it.'
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
securitySchemes:
ApiKey:
scheme: bearer
bearerFormat: API Key
type: http
description: 'Bearer token: a Platform API Key (format: ak_live:<uuid>:<secret>) or a Personal Access Token (format: rgo-...). PATs always act as the token owner.'
ApiUserHeader:
type: apiKey
in: header
name: x-meetergo-api-user-id
description: User ID to act on behalf of. Platform API Keys only (required with an API Key unless the endpoint states otherwise). Requests authenticated with a Personal Access Token are rejected if this header names another user.
PartnerApiKey:
scheme: bearer
bearerFormat: Partner API key
type: http
description: 'Partner API only (/v4/partner/*): a Partner API key (format: mgp_<id>_<secret>) from the Partner portal. Its workspace tokens (mgw_…) authenticate on the other Platform API endpoints like an API key, for one customer workspace.'
JWT:
scheme: bearer
bearerFormat: JWT
type: http
description: JWT Bearer token for standard user authentication