("accept", "application/json"),
("content-type", "application/json"),
// This is Avo Inspector source API key
// Provided by Avo customer.
("api-key", "fwoermmf1asl3mmad3")
("env", "prod") // "prod" | "dev" | "staging"
("origin", string) // optional
Each event received is either of type "event" or of type "sessionStarted"
SessionStarted event is sent when a new user session is started, We define a new User sessions as:
This is logic that our SDK's do handle themselves, we can provide code snippets to help with this.
{
"appName": "TikTok",
"appVersion": "1.2.2",
"libVersion": "1.0.2",
"libPlatform": "ios"
"apiKey": "fwoermmf1asl3mmad3"
"sessionId": "11332f62-ba2d-11eb-8529-0242ac130003", //UUID
"messageId": "54cafd77-c6cd-46b0-8459-69b59d44f012", // UUID
"createdAt": "2021-05-21T09:05:40.735Z",
"type": "event",
"eventName": "Onboarding Started",
"eventProperties": [
{
"propertyName": "user",
"propertyType": "object",
//optional nested properties
"children": [{"propertyName": "id", "propertyType": "string"}]
},
{
"propertyName": "friendNames",
"propertyType": "list(string)" or "list<string>",
},
]
}
{
"appName": "TikTok",
"appVersion": "1.2.2",
"libVersion": "1.0.2",
"libPlatform": "android"
"apiKey": "fwoermmf1asl3mmad3"
"sessionId": "11332f62-ba2d-11eb-8529-0242ac130003", // UUID
"messageId": "4cffbdca-ba2e-11eb-8529-0242ac130003", // UUID
"createdAt": "2021-05-21T09:05:40.735Z",
"type": "sessionStarted",
}