---
title: "Get all macros"
method: GET
path: "/macros"
tags: ["macros"]
---

# Get all macros

`GET /macros`

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

**Rate limit:** 60 requests per minute

## Query parameters

- `macro_group_id` string

## Response `200`

- GetMacrosResponseBody
  - `data` Macro[] — The data payload of the response.
    - `actions` MacroAction[] — The actions that execute when this macro is applied.
      - `type` string — The action type identifier (e.g. "set_issue_state", "set_issue_tags").
    - `created_at` string — The time the macro was created.
    - `has_actions` boolean — Whether this macro has actions that execute when applied.
    - `id` string — The ID of the macro.
    - `macro_group_id` string — The ID of the macro group this macro belongs to.
    - `name` string — The name of the macro.
    - `text_html` string — The HTML content of the macro.
    - `text_type` string — The type of text: "reply", "note", or "email".
    - `updated_at` string — The time the macro was last updated.
    - `visibility` Visibility
      - `team_ids` string[] — Team IDs who can access the resource.
      - `type` string — The visibility type.
      - `user_ids` string[] — User IDs who can access the resource.
  - `request_id` string — The request ID for tracking.

## Other responses

- `403` — The authenticated caller or organization is not allowed to access this endpoint or operation.
- `500` — An unexpected internal error occurred.

---

[API](https://skmtc.net/usepylon/apis/pylon-api.md) · [All operations](https://skmtc.net/usepylon/apis/pylon-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/usepylon/pylon-api/versions/7b6ea6af992a/schema)
