younifyd
Menu

Bulk Unarchive Macros

Unarchive macros

PUT/api/macros/unarchive

Use it in a workflow

  1. Add a step and choose the Gorgias connector.
  2. Pick the Bulk Unarchive Macros action (under Macros).
  3. Fill in the fields below, then reference the result from later steps as {{bulkUnarchiveMacros.response.data}}.

Request

Request body

Enter the body as JSON in the step's Body field.

idsarray<integer>required

List of macro ids to be unarchived

json
{
  "ids": [
    0
  ]
}

Response

Returns 207 with an object. Read it in later steps with {{bulkUnarchiveMacros.response.data.<field>}}.

dataarray<object>
idintegerrequired
statusstringrequired

One ofunarchivednot_foundalready_not_archived

json
{
  "data": [
    {
      "id": 0,
      "status": "unarchived"
    }
  ]
}

Need more? See the Gorgias guide for connection setup and behaviour shared by every action.