Chat icon

Chat

Interact with the Chat API

Actions253

Macro → Execute

AI-generated

Summary

Execute a macro on a selected account

Inputs

  • accountId (required) — Select the account to use.
  • macroId (required) — Macro ID to execute.
  • payload (required) — Request body JSON as expected by the API.

Output shape

object containing the API response

May include success indicator and any returned data; pagination not applicable.

Examples

Example 1: Send a welcome message via a macro

Set accountId to the appropriate account, macroId to 123, and payload to {"message":"Welcome"}.

Links

Discussion