Menu
Download Files
Download Files as ZIP
POST
/assets/filesUse it in a workflow
- Add a step and choose the Directus connector.
- Pick the Download Files action (under Assets).
- Fill in the fields below, then reference the result from later steps as
{{downloadFiles.response.data}}.
Request
Request body
Enter the body as JSON in the step's Body field.
{
"ids": [
"8cbb43fe-4cdf-4991-8352-c461779cec02",
"b6ac6b72-3c6d-4bd8-9f0f-3e29b6e8b321"
]
}
Response
Returns 200 with a string (binary). Read it in later steps with {{downloadFiles.response.data.<field>}}.
Need more? See the Directus guide for connection setup and behaviour shared by every action.
Was this page helpful?