Console
AppHub Tether — CloudStore

CloudStore Set

Saves or overwrites a JSON value in the cloud, scoped to the currently logged-in AppHub user and your app. The launcher injects the user token automatically — your app only needs its own AppID:AppKey.

POST http://127.0.0.1:7420/cloudstore/set
Requires Authorization: AppID:AppKey — launch token alone is not accepted. See CloudStore Authentication
This endpoint requires AppHub Store to be running on your machine. The live tester calls your local AppHub instance directly.

Request body

FieldTypeRequiredDescription
cloudkeystringrequiredName/key for this data (e.g. "save-slot-1", "settings")
dataobjectanyrequiredAny JSON-serializable value — object, array, string, or number. Completely overwrites any existing value for this key.

Success response 200

{
  "ok": true,
  "success": true,
  "message": "Cloud data saved successfully.",
  "cloudkey": "save-slot-1"
}

Errors

ReasonCause
missing_fieldscloudkey or dataobject not provided
missing_app_credentialsAuthorization: AppID:AppKey header not sent
no_accountNo user is logged in to AppHub — prompt user to sign in via the launcher
invalid_jsonRequest body is not valid JSON
upstream_errorCloudStore API returned an error