latestOpenAPI 3.0.32026-08-20147323331.7 KB

a7231589e927

macros

Create a new macro

Creates a new macro within the specified macro group.

Rate limit: 60 requests per minute

post/macros

Request body

macro_group_idstring required

The ID of the macro group this macro belongs to.

namestring required

The name of the macro.

text_htmlstring required

The HTML content of the macro.

text_typestring

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

Example request

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

Response

request_idstring

The request ID for tracking.