v1

latestOpenAPI 3.0.32026-07-26870417.2 KB
message

Forward Message

This endpoint forwards a message to other chats

post/message/{message_id}/forward

Headers

x-phonestring
Example:{{orgPhone}}

Please provide the number of the phone you want to call with this API in the header. The number must be in country code + number format without any characters or spaces, e.g. 919876543210; Alternatively, provide the phone_id (phone-xxxxxxxxxxxx) in the header

Request body

forward_chat_idsstring[] required
  • Array of all the recipients
  • For groups, enter the chat_id of the group. This will be a string that ends with @g.us
  • For 1-1 chats, enter the country_code + number of the recipient e.g. 919537851844@c.us (The @c.us is optional)

Example request

{
  "forward_chat_ids": [
    "919289665999@c.us"
  ]
}

Response

204 No Content

object required

204 No Content