Packs
Export the pack as a zip
The finished Java .zip, exactly what the Studio's Export button produces. Zipping happens on request rather than being kept warm, so this is slower than the other calls on a large pack. Bedrock .mcpack isn't in the API yet.
GET
/packs/{pack}/exportPath parameters
packstringrequiredThe pack's slug, as returned by the packs endpoints.
Response · 200
A application/zip body.
Error codes
Branch on error.code, never on the message.
invalid_api_key401The key isn't one of ours, or it has been revoked.
missing_api_key401No Authorization: Bearer header was sent.
wrong_key_kind401An MCP key sent to the REST API, or an API key sent to the MCP server. Each only opens its own.
forbidden403Valid key, but not permitted to do this in this pack.
plan_required403The key is valid, but its account is on Starter. The API needs a paid plan.
not_found404No such pack, asset or job.
export_failed500The zip couldn't be built.