Skip to content
SoulFire LogoSoulFire

Get account metadata

GET
/v1/instances/{instance_id}/accounts/{account_id}/metadata

Gets persistent metadata for a Minecraft account. Persistent metadata survives bot restarts and session changes.

Authorization

headerAuthorizationBearer <JWT>

Preferred API authentication. Use a JWT with the api audience.

Path Parameters

instance_id*string

The unique identifier (UUID) of the instance containing the account.

Formatuuid
account_id*string

The profile_id (UUID) of the Minecraft account.

Formatuuid

Response Body

Response containing the persistent metadata for an account.

application/json
  1. response

Response containing the persistent metadata for an account.

metadata*array<>

Metadata organized by namespace. Each namespace contains key-value pairs of metadata.

Example Request
curl -X GET 'http://127.0.0.1:38765/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/accounts/497f6eca-6276-4993-bfeb-53cbbbba6f08/metadata'
Example Response
{
  "metadata": [
    {
      "namespace": "string",
      "entries": [
        {
          "key": "string",
          "value": null
        }
      ]
    }
  ]
}

Was this page helpful?