POST
/
crash
curl --request POST \
  --url http://api.instalog.dev/api/crash \
  --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": "ED6A6A76-2367-4F66-95A3-76C86FEF4FC8",
  "stack_trace": {
    "report": "Incident Identifier: 3DBB52DA-B108-4821-BFB2-1A90FD6B7E0E\nHardware Model: ...",
    "name": "First Crash"
  },
  "timestamp": 761359279.333025
}'

Authorizations

x-api-key
string
header
required

Body

application/json
bundle_identifier
string
required

Bundle identifier of the application

Example:

"com.example.instalog"

device
object
required

A map of device information properties

Example:
{
  "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
string
required

Unique identifier for the device

Example:

"ED6A6A76-2367-4F66-95A3-76C86FEF4FC8"

stack_trace
object
required
timestamp
number
required

Timestamp when the crash occurred

Example:

761359279.333025

Response

201

Crash report successfully created