Chat icon

Chat

Interact with the Chat API

Actions253

Macro → Create

AI-generated

Summary

Create a macro

Inputs

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

Output shape

a single macro object

Returns the created macro record, typically including an generated ID and timestamps.

Examples

Example 1: Create a macro for a specific account

accountId set to an account ID, payload containing macro JSON

Links

Discussion