POST
Forward Message
Forward a message to another chat.
API endpoint
https://waclient.com/api/forward_messageExample:
curl -X POST \
'https://waclient.com/api/forward_message' \
-H 'Content-Type: application/json' \
--data '{
"from_chat_id": "20100981XXXX",
"to": "20100981XXXX",
"message_id": "ABC123",
"from_me": true,
"instance_id": "6A4B02A1XXXX",
"access_token": "EMCUH3NQQK8YXXXX"
}'Response
{
"status": "success",
"message": "Success",
"message_payload": {
"key": {
"remoteJid": "[email protected]",
"fromMe": true,
"id": "ABC123"
},
"status": "PENDING"
}
}| Parameter | Description |
|---|---|
| from_chat_id | Source chat JID or phone number |
| to_chat_id / to / number | Destination chat JID or phone number |
| message_id | Message ID to forward |
| from_me | Whether source message is from you (Optional) |
| instance_id | Your instance ID |
| access_token | Your access token |