Menu
Bulk Archive Macros
Archive macros
PUT
/api/macros/archiveUse it in a workflow
- Add a step and choose the Gorgias connector.
- Pick the Bulk Archive Macros action (under Macros).
- Fill in the fields below, then reference the result from later steps as
{{bulkArchiveMacros.response.data}}.
Request
Request body
Enter the body as JSON in the step's Body field.
{
"ids": [
0
]
}
Response
Returns 207 with an object. Read it in later steps with {{bulkArchiveMacros.response.data.<field>}}.
{
"data": [
{
"id": 0,
"status": "archived",
"error": {
"data": {
"rules": [
"string"
]
},
"msg": "string"
}
}
]
}
Need more? See the Gorgias guide for connection setup and behaviour shared by every action.
Was this page helpful?