API Documentation
API Reference
Submit an application log
Send a log event with relevant data from the application
POST
/
log
Copy
curl --request POST \
--url http://api.instalog.dev/api/log \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"bundle_identifier": "com.example.instalog",
"device": {
"os": "android",
"device_brand": "google",
"device_model": "sdk_gphone64_arm64",
"android_version": "15",
"battery_level": 100,
"battery_state": "not_charging",
"build_board": "goldfish_arm64",
"build_bootloader": "unknown",
"build_fingerprint": "google/sdk_gphone64_arm64/emu64a:15/AE3A.240806.005/12228598:user/release-keys",
"bundle_name": "Instalog",
"device": "emu64a",
"manufacturer": "Google",
"product": "sdk_gphone64_arm64",
"sdk_version": 35,
"supported_abis": [
"arm64-v8a"
],
"version_code": 1,
"version_name": "1.0"
},
"device_uuid": "feaba37e-3061-4ebe-b8ce-d26c55c500c7",
"log": {
"event": "hello_world",
"params": {
"eventName": "UserLogin",
"timestamp": "1740383980814",
"userId": "98765",
"source": "web",
"location": "New York, USA",
"device": "Android Emulator"
}
},
"unique_user_id": "[email protected]"
}'
Copy
curl --request POST \
--url http://api.instalog.dev/api/log \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"bundle_identifier": "com.example.instalog",
"device": {
"os": "android",
"device_brand": "google",
"device_model": "sdk_gphone64_arm64",
"android_version": "15",
"battery_level": 100,
"battery_state": "not_charging",
"build_board": "goldfish_arm64",
"build_bootloader": "unknown",
"build_fingerprint": "google/sdk_gphone64_arm64/emu64a:15/AE3A.240806.005/12228598:user/release-keys",
"bundle_name": "Instalog",
"device": "emu64a",
"manufacturer": "Google",
"product": "sdk_gphone64_arm64",
"sdk_version": 35,
"supported_abis": [
"arm64-v8a"
],
"version_code": 1,
"version_name": "1.0"
},
"device_uuid": "feaba37e-3061-4ebe-b8ce-d26c55c500c7",
"log": {
"event": "hello_world",
"params": {
"eventName": "UserLogin",
"timestamp": "1740383980814",
"userId": "98765",
"source": "web",
"location": "New York, USA",
"device": "Android Emulator"
}
},
"unique_user_id": "[email protected]"
}'
Assistant
Responses are generated using AI and may contain mistakes.