messages

Replaces the body of a message and syncs the edit to its connected channel (Slack, Microsoft Teams, Discord, Google Chat, Telegram, or the chat widget). Only messages authored by the API token's user can be edited. Emails, customer messages, and redacted messages cannot be edited. Callers without issue write access can edit only their own internal notes.

Rate limit: 30 requests per minute

patch/issues/{id}/messages/{message_id}

Request

  • Base URL
    https://api.usepylon.com
  • URL
    https://api.usepylon.com/issues/{id}/messages/{message_id}
  • Auth
    HTTP bearer

Path parameters

idstring required

The ID of the issue that the message belongs to.

message_idstring required

The ID of the message to edit.

Request body

body_htmlstring required

The new message body in HTML. Replaces the existing body.

Response

request_idstring required

The request ID for tracking.

Example response

{
  "data": {
    "email_info": {
      "opens": [
        {
          "time": "2026-09-30T16:33:54Z"
        }
      ],
      "sender_authentication_status": "pass"
    }
  }
}

Changes