Skip to main content
POST
/
messages
/
send
Send Message
curl --request POST \
  --url https://api.linkupapi.com/messages/send \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <x-api-key>' \
  --data '{
  "account_id": "<string>",
  "to": "<string>",
  "message": "<string>",
  "quoted_message_id": "<string>",
  "quoted_text": "<string>",
  "quoted_timestamp": 123,
  "quoted_from_me": true
}'
{
  "account_id": "68e63a4fe364c1ce41688865",
  "to": "33673748743",
  "message": "Hello from API!"
}
Send a direct message to any WhatsApp user. You can send a simple message or reply to an existing message.
This endpoint costs 1 credit per message sent.
To get your account_id, you need to first authenticate your WhatsApp account. See WhatsApp Authentication for details on how to log your WhatsApp account and obtain the account ID.

Header Parameters

x-api-key
string
required
Your API key

Body Parameters

account_id
string
required
The ID of your WhatsApp account
to
string
required
The recipient’s phone number (international format without +)
message
string
required
The text message to send
quoted_message_id
string
The ID of the message you’re replying to
quoted_text
string
The text of the quoted message
quoted_timestamp
number
Unix timestamp in milliseconds of the quoted message
quoted_from_me
boolean
true if the quoted message is from you, false if from the recipient

Response

status
string
Request status (success/error)
message
string
Detailed message about the sending status
data
object
Additional data returned when message is sent successfully
{
  "account_id": "68e63a4fe364c1ce41688865",
  "to": "33673748743",
  "message": "Hello from API!"
}

Notes

  • Phone numbers must be in international format without the + prefix
  • All quoted parameters must be provided together when replying to a message
  • The quoted_from_me parameter helps distinguish between replies to your messages vs received messages
I