Send a raw Minecraft packet
POST
header
AuthorizationBearer <JWT>Preferred API authentication. Use a JWT with the api audience.
instance_id*stringbot_id*stringapplication/json- body
encodedPacket*stringThe complete unframed packet, including its protocol packet ID.
Format
byteexpectedName?|Optional guard against sending bytes for the wrong packet schema.
Successful response.
application/json- response
name?stringencodedBytes?integerFormat
int64Range
0 <= value <= 4294967295curl -X POST 'http://127.0.0.1:38765/v1/instances/string/bots/string/protocol/packets:send' \
-H 'Content-Type: application/json' \
-d '{
"encodedPacket": "string"
}'Example Response
{
"name": "string",
"encodedBytes": 0
}Was this page helpful?
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.
