macros

Updates an existing macro by ID. All fields are optional; only provided fields will be updated.

Rate limit: 300 requests per minute

patch/macros/{id}

Request

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

Path parameters

idstring required

The ID of the macro to update.

Request body

macro_group_idstring

The ID of the macro group this macro belongs to.

namestring

The name of the macro.

text_htmlstring

The HTML content of the macro.

text_typestring

The type of text: "reply", "note", or "email".

Example request

{
  "conditions": {
    "subfilters": [
      {
        "field": "state",
        "operator": "equals",
        "value": "new"
      }
    ]
  }
}

Response

request_idstring required

The request ID for tracking.

Changes

    • info

      added the new not enum value to the request property /

    • info

      added the new time_is_in_last enum value to the request property /

    • info

      added the new time_is_in_next enum value to the request property /

    • info

      added the new time_is_not_in_last enum value to the request property /

    • info

      added the new time_is_not_in_next enum value to the request property /

    • info

      the response property became required for the status