Check how to message one recipient
Check whether this connection is ready, the number is allowed by workspace filters, history exists, and whether an official Business reply is inside the 24-hour window or needs an approved template.
- Key permissions
- Read chats and messages
- Authentication
Authorization: Bearer $WHATSYNC_API_KEY
How keys work
How it works
This does not prove WhatsApp registration or opt-in.
With several numbers, from_number says which one would send, or is null when it is not clear and fromNumber is needed.
Body parameters
channelqr | businessoptionalRequired when both accounts are connected; templates always use Business
fromNumberstringoptionalWhich of the account's WhatsApp numbers sends, with country code, as listed in whatsapp_numbers from get_account_context. Only matters when the account has several numbers; omit it to use the number the chat is on
conversationIdstringoptionalThe exact conversation_id value returned by another WhatSync tool
phoneNumberstringoptionalOne recipient's phone number with country code
Conditions and pagination
- Choose channel explicitly when both QR and Business are connected. Never switch channels automatically after an error.
- Provide phoneNumber or an exact conversationId from a previous result. If you supply both, they must identify the same person. send_message with a group's conversationId sends text as send_group_message does; the other two tools do not take groups.
Response
HTTP 200 returns this tool's JSON directly, without an MCP content wrapper. Optional provider fields may be absent or null; check pagination and coverage before treating a page as complete.
Every response includes X-Request-Id. Errors use the shared error format and retry rules.
Schemas
Input JSON Schema
{
"type": "object",
"properties": {
"channel": {
"type": "string",
"enum": [
"qr",
"business"
],
"description": "Required when both accounts are connected; templates always use Business"
},
"fromNumber": {
"type": "string",
"minLength": 7,
"maxLength": 30,
"description": "Which of the account's WhatsApp numbers sends, with country code, as listed in whatsapp_numbers from get_account_context. Only matters when the account has several numbers; omit it to use the number the chat is on"
},
"conversationId": {
"type": "string",
"minLength": 1,
"maxLength": 250,
"description": "The exact conversation_id value returned by another WhatSync tool"
},
"phoneNumber": {
"type": "string",
"minLength": 7,
"maxLength": 30,
"description": "One recipient's phone number with country code"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#",
"anyOf": [
{
"required": [
"phoneNumber"
]
},
{
"required": [
"conversationId"
]
}
]
}Response JSON Schema
{
"type": "object",
"properties": {
"channel": {
"type": "string"
},
"recipient_phone": {
"type": "string"
},
"recipient_name": {
"type": [
"string",
"null"
]
},
"conversation_history_available": {
"type": "boolean"
},
"can_send_freeform": {
"type": "boolean"
},
"approved_template_required": {
"type": "boolean"
},
"note": {
"type": "string"
}
},
"required": [],
"additionalProperties": true
}