Send a raw Minecraft packet
AuthorizationBearer <token>
Preferred API authentication. Use a JWT with the api audience.
In: header
Path Parameters
instance_id*string
bot_id*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
encodedPacket*string
The complete unframed packet, including its protocol packet ID.
Format
byteexpectedName?|
Optional guard against sending bytes for the wrong packet schema.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/instances/string/bots/string/protocol/packets:send" \ -H "Content-Type: application/json" \ -d '{ "encodedPacket": "string" }'{ "name": "string", "encodedBytes": 0}How is this page?
List negotiated packet schemas GET
Previous Page
Click container button POST
Clicks a container-specific action button. Used for: stonecutter recipes, enchanting, loom patterns, villager trades, beacon effects, crafter slot toggles, lectern page navigation. The action is queued and executed on the next game tick.
