resourcepack.ai
DOCS

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}/export

Path parameters

packstringrequired

The 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_key401

The key isn't one of ours, or it has been revoked.

missing_api_key401

No Authorization: Bearer header was sent.

wrong_key_kind401

An MCP key sent to the REST API, or an API key sent to the MCP server. Each only opens its own.

forbidden403

Valid key, but not permitted to do this in this pack.

plan_required403

The key is valid, but its account is on Starter. The API needs a paid plan.

not_found404

No such pack, asset or job.

export_failed500

The zip couldn't be built.