apply_macro
Apply a macro's actions to a conversation to update team, user, status, priority, or tags and increment its usage count. Returns partial success when only some actions apply.
Instructions
Apply Macro To Conversation
Applies a list of macro actions to a conversation and increments the macro's usage count. The body is a JSON array of actions (not an object), at most one action per type. Allowed action types: assign_team, assign_user, set_status, set_priority, add_tags, set_tags, remove_tags; send_reply and send_private_note are refused (403). The caller needs the permission matching each action type. Answers 200 when every action succeeded, 207 when only some did, and 500 when none did. The success body is {"message": ...}, not the usual status/data envelope.
POST /api/v1/conversations/{uuid}/macros/{id}/apply
Tags: Conversations
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Macro ID (path parameter) | |
| body | Yes | Request body | |
| uuid | Yes | Conversation UUID (path parameter) |