Console
AppHub Tether

Event

Reports a named event to the AppHub launcher for analytics, achievements, or any milestone you want AppHub to be aware of.

POST http://127.0.0.1:7420/event
Requires X-AppHub-Token header or Authorization: AppID:AppKey — see Authentication
This endpoint requires AppHub Store to be running on your machine. The live tester calls your local AppHub instance directly.

Request body

FieldTypeRequiredDescription
eventstringrequiredEvent name, max 64 chars (e.g. level_complete, purchase)
appidstringoptionalYour app's packagename
dataobjectoptionalAny JSON-serializable value with additional event context

Example request

{
  "appid": "com.studio.mygame",
  "event": "level_complete",
  "data": { "level": 5, "score": 9800 }
}

Success response 200

{ "ok": true }

Notes

ScenarioDetail
The data fieldCan be any JSON-serializable value — object, array, string, or number. Pass null or omit it if no extra context is needed.
GET requestOnly POST is accepted. GET requests return 404.