Skip navigation
REST › packs.download

packs.download

POST/packs/{slug}/download

Issues a download link for a piece's latest file pack. The link expires after 15 minutes. Needs a key from an account with subscriber access.

Parameters

ParameterInDescription
slugpathRequired. Slug of the file pack (packSlug in the metadata), for example ui-craft.

Request

curl
curl -X POST "https://api.modernengineer.dev/packs/ui-craft/download" \
  -H "Authorization: Bearer $SE_KEY"

Response

200 OK · application/json
{
  "expiresAt": "2026-09-27T10:15:00.000Z",
  "url": "https://signed-link.invalid/…"
}

Errors

StatusErrorWhen
401unauthenticatedThe API key is missing or invalid. Comes with a WWW-Authenticate header.
403forbiddenThe key's account has no subscriber access.
400invalid_inputA parameter is missing or invalid, for example a locale other than vi or en.
404not_foundNo file pack has this slug.
429too_many_requestsMore than 50 download and visual links in 24 hours for this account.

In MCP