Description
⚠️ This endpoint is not yet implemented. This endpoint will allow forwarding existing messages to other contacts or groups on WhatsApp, maintaining the original format and content of the message.Body
Body Parameters
Property | Type | Required | Description |
---|---|---|---|
sessionId | string | ✅ Yes | Authenticated session ID that will forward the message |
jid | string | ✅ Yes | Recipient identifier (WhatsApp JID). Format: 5511999999999@s.whatsapp.net for contacts or 120363XXXXX@g.us for groups |
messageId | string | ✅ Yes | Message ID to be forwarded |
fromJid | string | ✅ Yes | Source chat JID of the message |
Status Codes
200
- Message forwarded successfully400
- Invalid parameters401
- Unauthorized session404
- Session not found501
- Not implemented
Usage Example
Authorizations
Your Wappfy API key (get it at dash.wappfy.com.br)
Body
Response
Message ID
"false_11111111111@c.us_AAAAAAAAAAAAAAAAAAAA"
Unix timestamp of when the message was created
1666943582
Chat ID to which this message was sent
"5511999999999@c.us"
Indicates if the message was sent by the current user
The device that sent the message - either API or APP. Available in events (webhooks/websockets) only and only "fromMe: true" messages.
api
, app
"api"
- ID for who this message is for.
- If the message is sent by the current user, it will be the Chat to which the message is being sent.
- If the message is sent by another user, it will be the ID for the current user.
"5511999999999@c.us"
For groups - participant who sent the message
Message content
Indicates if the message has media available for download
Message acknowledgement (ACK) status
-1
, 0
, 1
, 2
, 3
, 4
Message acknowledgement status name
Message media object, if any and downloaded
If the message was sent to a group, this field will contain the user who sent the message
Location information contained in the message
List of vCards contained in the message
Message in raw WhatsApp format. May change at any time, use with caution!