Skip to main content
PATCH
Update the title or message of a shared saved reply. See the Macros overview for the shared object and scope model.

Headers

string
required
Bearer token containing your workspace API key. The key needs write scope.

Path parameters

string
required
Macro UUID belonging to the authenticated workspace.

Body

string
Non-empty title, up to 150 characters after trimming. Titles must be unique within the workspace, ignoring case and surrounding spaces.
string
Non-empty Markdown message, up to 10,000 characters after trimming. Variables are stored as template text, not resolved by this endpoint.
Send at least one of title or body; omitted fields remain unchanged. Use non-null strings for supplied fields. The update changes the shared template for future insertion, not messages already sent.

Response

Returns the macro object. Examples use synthetic IDs and timestamps.

Errors

  • 400: Invalid parameters or failed field validation.
  • 401: Missing or invalid credential.
  • 403: Credential lacks the required scope.
  • 406: No workspace is associated with the authenticated user.
  • 404: Macro not found in this workspace.
  • 409: Another macro already uses that title in this workspace.