Macros

Get a macro by its ID

get

Returns a single macro by ID.

Rate limit: 60 requests per minute

Authorizations
AuthorizationstringRequired

Authorization: Bearer

Path parameters
idstringRequired

The ID of the macro.

Responses
get
/macros/{id}

Get all macros

get

Returns all macros for the organization. Optionally filter by macro group ID.

Rate limit: 60 requests per minute

Authorizations
AuthorizationstringRequired

Authorization: Bearer

Query parameters
macro_group_idstringOptional

Filter macros by macro group ID.

Responses
get
/macros

Get all macro groups

get

Returns all macro groups for the organization.

Rate limit: 60 requests per minute

Authorizations
AuthorizationstringRequired

Authorization: Bearer

Responses
get
/macro-groups

Update a macro

patch

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

Rate limit: 60 requests per minute

Authorizations
AuthorizationstringRequired

Authorization: Bearer

Path parameters
idstringRequired

The ID of the macro to update.

Body
macro_group_idstringOptional

The ID of the macro group this macro belongs to.

namestringOptional

The name of the macro.

text_htmlstringOptional

The HTML content of the macro.

text_typestringOptional

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

Responses
patch
/macros/{id}

Create a new macro

post

Creates a new macro within the specified macro group.

Rate limit: 60 requests per minute

Authorizations
AuthorizationstringRequired

Authorization: Bearer

Body
macro_group_idstringRequired

The ID of the macro group this macro belongs to.

namestringRequired

The name of the macro.

text_htmlstringRequired

The HTML content of the macro.

text_typestringOptional

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

Responses
post
/macros

Last updated

Was this helpful?