Skip to main content
POST
/
api
/
v1
/
messages
/
{messageId}
/
forward
Forward a message
curl --request POST \
  --url http://localhost:{port}/api/v1/messages/{messageId}/forward \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "chatId": "<string>"
}
'
{
  "messageId": "<string>",
  "success": true
}

Authorizations

Authorization
string
header
required

JWT token authentication

Path Parameters

messageId
string
required

ID of the message to forward

Body

application/json
chatId
string
required

ID of the chat to forward the message to

Response

Message forwarded successfully

messageId
string
required

ID of the created/sent message

success
boolean

Whether the operation was successful