Events

API Documentation for the BugSplat Events Endpoint

Get a list of events, or post a new event for a given Crash ID or Crash Group (Stack Key) ID.

Events

GET https://app.bugsplat.com/api/events

Get all events associated with a Crash Group (Stack Key).

Query Parameters

Name
Type
Description

database

string

Name of the database containing the specified Crash Id or Crash Group (Stack Key).

stackKeyId

number

Crash group to fetch events for.

{
  "status": "success",
  "events": [
    {
      "id": "118",
      "type": "Comment",
      "timestamp": "2022-02-02T19:25:11Z",
      "uId": "27581",
      "username": "bobby@bugsplat.com",
      "firstName": "Bobby",
      "lastName": "",
      "message": "testing 123"
    }
  ]
}

Curl Example

curl --location 'https://app.bugsplat.com/api/events?database=fred&stackKeyId=10315' \
--header 'Authorization: Bearer ••••••'

Comment

POST https://app.bugsplat.com/api/events/comment

Post a new comment for a given Crash Group (Stack Key).

Query Parameters

Name
Type
Description

database

string

Name of the database that contains the specified Crash Id or Crash Group (Stack Key).

message*

string

Markdown string containing the body of the comment to post.

stackKeyId

number

Crash group to comment on

{
    "status": "success",
    "messageId": 127
}

Curl Example

curl --location --request POST 'https://app.bugsplat.com/api/events/comment?database=fred&stackKeyId=10315&message=hello%20from%20**postman**!%20%F0%9F%91%8B' \
--header 'Authorization: Bearer ••••••' 

Last updated