Draft a WhatsApp message to send yourself
Make a WhatsApp link with a message filled in.
- Key permissions
- Read chats and messages
- Authentication
Authorization: Bearer $WHATSYNC_API_KEY
How keys work
How it works
- Nothing is sent: opening the link starts WhatsApp on the user's phone or computer with the text ready, and the message goes out only when the user taps Send.
- Use when the user wants to send it themselves, or when sending is turned off for their number.
- For a group (
groupId, or aconversation_idending in @g.us) WhatsApp asks which chat to send it to. - Text only: for a file, put its link in the text.
Body parameters
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 from another WhatSync tool
phoneNumberstringoptionalOne recipient's phone number with country code
groupIdstringoptionalA group id from list_groups
textstringrequiredThe exact message
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
Input JSON Schema
{
"type": "object",
"properties": {
"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 from another WhatSync tool"
},
"phoneNumber": {
"type": "string",
"minLength": 7,
"maxLength": 30,
"description": "One recipient's phone number with country code"
},
"groupId": {
"type": "string",
"pattern": "^\\d[\\d-]*@g\\.us$",
"description": "A group id from list_groups"
},
"text": {
"type": "string",
"minLength": 1,
"maxLength": 4096,
"description": "The exact message"
}
},
"required": [
"text"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}Response JSON Schema
Response JSON Schema
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"draft_ready"
]
},
"sent": {
"type": "boolean",
"enum": [
false
]
},
"reason": {
"type": "string",
"enum": [
"requested",
"sending_off",
"new_people_limit",
"daily_limit",
"number_not_chosen"
]
},
"draft_link": {
"type": "string"
},
"recipient_phone": {
"type": "string"
},
"recipient_name": {
"type": "string"
},
"group_id": {
"type": "string"
},
"message_text": {
"type": "string"
},
"note": {
"type": "string"
}
},
"required": [
"status",
"sent",
"reason",
"draft_link",
"message_text",
"note"
],
"additionalProperties": true
}