PUT

https://{server-url}

/
chat
/
updateMessage
/
{instance}
curl --request PUT \
  --url https://{server-url}/chat/updateMessage/{instance} \
  --header 'Content-Type: application/json' \
  --header 'apikey: <api-key>' \
  --data '{
  "number": 123,
  "text": "<string>",
  "key": {
    "remoteJid": "<string>",
    "fromMe": true,
    "id": "<string>"
  }
}'

Authorizations

apikey
string
headerrequired

Your authorization key header

Path Parameters

instance
string
required

ID of the instance to connect

Body

application/json
number
integer

Receiver phone number with country code

text
string

New message content

key
object