Update Bloomline Player Bonsai
Set the hype, background, clip, border and number modules shown for an agent. IDs in the body are written as 32 uppercase hex digits without dashes, and 00000000000000000000000000000000 clears a slot.
Headers
X-Riot-ClientPlatform string required {client platform}— Base64-encoded client platform JSON X-Riot-ClientVersion string required {client version}— The current Valorant client version X-Riot-Entitlements-JWT string required {entitlement token}— From the Entitlements Token or Entitlement endpoint Authorization string required Bearer {auth token}— From the Entitlements Token endpoint or Riot auth URL parameters
shard enum required na, pbe, eu, ap or kr: depends on where the account was created.
napbeeuapkrHow to get it
The shard is dependent on where the Riot account was created.
There are 5 shards:
| Shard | Region(s) |
|---|---|
na | latam, br, na |
pbe | na |
eu | eu |
ap | ap |
kr | kr |
The shard can be found in the ShooterGame log (%LocalAppData%\VALORANT\Saved\Logs\ShooterGame.log ) when it's used in an endpoint url.
Example regex capturing region and shard: https://glz-(.+?)-1.(.+?).a.pvp.net
The shard can be found from using a lookup table with the region. To find the region, use the Riot Geo endpoint with the ID and auth tokens from Cookie Reauth
puuid string · uuid required agent id string · uuid required Other variables
client platform Base64-encoded client platform JSON. Details
A string representing the platform of the client. Base-64 encoded JSON with the following fields:
{
"platformType": "PC",
"platformOS": "Windows",
"platformOSVersion": "10.0.26200.1.256.64bit",
"platformChipset": "Unknown"
} ewoJInBsYXRmb3JtVHlwZSI6ICJQQyIsCgkicGxhdGZvcm1PUyI6ICJXaW5kb3dzIiwKCSJwbGF0Zm9ybU9TVmVyc2lvbiI6ICIxMC4wLjI2MjAwLjEuMjU2LjY0Yml0IiwKCSJwbGF0Zm9ybUNoaXBzZXQiOiAiVW5rbm93biIKfQ==
is a value that works.
client version The current Valorant client version. Details
The version of the Valorant client. This can be obtained in a number of ways:
- Parsing the ShooterGame log at
%LocalAppData%\VALORANT\Saved\Logs\ShooterGame.log - Using the Sessions endpoint
- Using the third-party RadiantConnect version endpoint (
data.riot_client_version) - Using the third-party Versions endpoint
entitlement token From the Entitlements Token or Entitlement endpoint. Details
auth token From the Entitlements Token endpoint or Riot auth. Details
Body
bonsaiId string The agent UUID without dashes
hypeId string ID as 32 hex digits without dashes
backgroundId string ID as 32 hex digits without dashes
clipId string ID as 32 hex digits without dashes
borderId string ID as 32 hex digits without dashes
moduleUpdates array[object] Show nested attributes Hide nested attributes 3
iD string Module slot ID
type string ID as 32 hex digits without dashes
item string Stat ID to show in the slot
Response
Subject string · uuid Player UUID
Bonsais array[object] Show nested attributes Hide nested attributes 8
BonsaiID string · uuid Bonsai ID, the same as the agent UUID
HypeID string · uuid optional UUID
BackgroundID string · uuid optional UUID
ClipID string · uuid optional UUID
BorderID string · uuid optional UUID
Flourish object Progress of the agent's Bloomline. Empty for agents without progress
Show nested attributes Hide nested attributes 6
FlourishID string · uuid optional UUID
ShortLevel number optional PreviousShortLevel number optional LongLevel number optional Points number optional PointsVersion number optional NumberModules array[object] optional Stats of the agent; only returned for a single bonsai
Show nested attributes Hide nested attributes 3
ModuleID string · uuid optional Module slot the number is shown in
NumberID string · uuid Stat ID, all zeros for an empty slot
Value number TrackProgressList array[object] optional Show nested attributes Hide nested attributes 2
TrackID string · uuid UUID
TrackLevel number optional LongGroupVersion number optional