resourcepack.ai
DOCS

Packs

Listen to a sound's take

One take's audio as Ogg Vorbis, to hear before choosing it. The sound as it ships is GET /packs/{pack}/assets/sound/{sound}.

GET/packs/{pack}/sounds/{sound}/takes/{take}

Path parameters

packstringrequired

The pack's slug, as returned by the packs endpoints.

soundstringrequired

The sound's name from the asset listing.

takestringrequired

A take's id from the sound's takes.

Response · 200

An audio/ogg 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.

account_suspended403

The account is suspended, so its keys open nothing. message says until when, if the suspension has an end date.

plan_required403

The key is valid, but its account's plan does not include the API.

not_found404

No such pack, asset or job.