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
| Name | Type | Description |
|---|---|---|
| label string | string | Only macros with this label. |
Request
curl https://cotlet.dev/api/v1/tidio/macros \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("tidio", "list_macros") const result = await cotlet.call('tidio', 'list_macros'); cotlet call tidio list_macros Example response
{
"macros": [
{
"name": "Shipping time",
"label": "Orders",
"private": false,
"text": "Orders ship within 2 business days. You will get a tracking link by email."
}
]
}