GamebeastDocs
Dashboard
SDK V1Heatmaps

Upload heatmap image

POST
/sdk/v1/heatmaps/{heatmapId}/image

Uploads the rendered heatmap image for this heatmap. Accepts a raw image/png stream, or a JSON body of { data: string } containing base64-encoded image bytes.

Authorization

sdkApiKey
authorization<token>

SDK (public) key, prefixed gb_pk_ (older keys: sdk_). Send it as the authorization header value. Scoped to one project, so it is safe to ship in a game build.

In: header

Path Parameters

heatmapId*string

Header Parameters

isstudio?|
Defaulttrue
project-id?integer
Range0 < value <= 9007199254740991

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/sdk/v1/heatmaps/string/image" \  -H "Content-Type: application/json" \  -d '{    "data": "string"  }'
{}