Collaborators
Invite somebody to a pack
Invites a person by Minecraft username (one a resourcepack.ai account has verified) or by email, with what they may do once they accept: Discord and email tell them. By username it says whether there is such a player; by email it always answers `invited`, whether or not that address has an account, so it cannot be used to find out who does. Owner or team admin only.
/packs/{pack}/collaborators/invitePath parameters
packstringrequiredThe pack's slug, as returned by the packs endpoints.
Body
usernamestringTheir Minecraft username. Send this or email.
emailstringTheir email address.
sectionsstringdefault "*"The sections they reach: a comma list of models, vehicles, mobs, blocks, items, armor, guis, hud, dialogs, icons, sounds, emotes, shaders, distribution, or * for all of them.
capsstringWhat they may do there, a comma list of edit, generate, sync, export, distribute. None by default, which is looking only.
Response · 200
Invited.
packstringrequiredThe pack.
statusstringrequiredAlways invited.
invitedNamestringBy username: their name as their account has it.
emailstringBy email: the address, as sent.
Error codes
Branch on error.code, never on the message.
invalid_request400Something in the body or query is wrong. message says what.
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.
account_suspended403The account is suspended, so its keys open nothing. message says until when, if the suspension has an end date.
forbidden403Valid key, but not permitted to do this in this pack.
plan_required403The key is valid, but its account's plan does not include the API.
no_such_player404No resourcepack.ai account has verified that Minecraft username. Invite them by email instead.
not_found404No such pack, asset or job.
too_many_invites429The pack has as many invitations waiting as it may. Withdraw one first.