Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-phone
string

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

Path Parameters

message_id
string
required

The message_id or the queue_id of the message to be edited

Body

application/json
edited_body
string
required
  • The edited message body
  • Media content or polls cannot be edited. In the case of media, only the caption will be edited
  • Edit is only possible for the first 15 minutes after the message is delivered

Response

204 - application/json

204 No Content