List macros

Macros (saved replies) with name, label and text.

GET https://cotlet.dev/api/v1/tidio/macros

read

Lists the macros in Settings > General > Macros with their name, label, whether they are private and their text. Use it before create_macro so the agent does not add a duplicate. Macros need the Growth plan or higher.

Parameters

Parameters: list_macros
NameTypeDescription
label string string Only macros with this label.

Request

cURL
curl https://cotlet.dev/api/v1/tidio/macros \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("tidio", "list_macros")
Node.js
const result = await cotlet.call('tidio', 'list_macros');
CLI
cotlet call tidio list_macros

Example response

JSON

{
  "macros": [
    {
      "name": "Shipping time",
      "label": "Orders",
      "private": false,
      "text": "Orders ship within 2 business days. You will get a tracking link by email."
    }
  ]
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.