SoulFire LogoSoulFire

Send a raw Minecraft packet

POST
/v1/instances/{instance_id}/bots/{bot_id}/protocol/packets:send

Authorization

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.

Formatbyte
expectedName?|

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?