API
BugSplat provides RESTful web services to access data on our backend. The BugSplat database should be selected using the "database" URL parameter. Data is returned in JSON format. Authentication is required for all endpoints. See the curl example at the end of this page for an illustration of this process.
Want to see our API in action? Open your web browser inspector to see how our web application uses the endpoints below!
Most API endpoints support a "database={name}" parameter, used to specify which BugSplat database to use. In the absence of this parameter, the current (default) database will be selected.
get
https://app.bugsplat.com
/api/allcrash
Crashes
get
https://app.bugsplat.com
/api/keycrash
Key Crash
get
https://app.bugsplat.com
/api/company
Company
put
https://app.bugsplat.com
/api/company
Company
get
https://app.bugsplat.com
/api/crashHistory
Crash History
get
https://app.bugsplat.com
/api/crash/data
Crash
get
https://app.bugsplat.com
/api/databases
Databases
post
https://app.bugsplat.com
/api/databases
Databases
put
https://app.bugsplat.com
/api/databases
Databases
delete
https://app.bugsplat.com
/api/databases
Databases
get
https://app.bugsplat.com
/api/logDefect
Defect
post
https://app.bugsplat.com
/api/logDefect
Defect
delete
https://app.bugsplat.com
/api/logDefect
Defect
get
https://app.bugsplat.com
/api/summary
Summary
get
https://app.bugsplat.com
/api/stackKeyDailyVolume
Stack Key Daily Volume
get
https://app.bugsplat.com
/api/symbols
Symbols
post
https://app.bugsplat.com
/api/symbols
Symbols
get
https://app.bugsplat.com
/api/upload/manual/crash
Upload Minidump
get
https://app.bugsplat.com
/api/users
Users
post
https://app.bugsplat.com
/api/users
Users
delete
https://app.bugsplat.com
/api/users
Users
get
https://app.bugsplat.com
/api/user/userData
User Data
delete
https://app.bugsplat.com
/api/user/userData
User Data
get
https://app.bugsplat.com
/api/versions
Versions

Example

You can access the web services with a variety of tools. Here’s an example using Curl to connect to the Fred database:
  • rm cookies.txt
  • curl -b cookies.txt -c cookies.txt --data "[email protected]&password=Flintstone" https://app.bugsplat.com/api/authenticatev3
  • curl -b cookies.txt -c cookies.txt "https://app.bugsplat.com/allCrash?database=Fred"
  • curl -b cookies.txt -c cookies.txt "https://app.bugsplat.com/api/crash/data?id=58464&database=Fred"

Special Rules for POSTing

When POSTing data to BugSplat endpoints additional steps are required to meet our Cross Site Request Forgery (XSRF) safety checks. After authenticating you will recieve a cookie named xsrf-token. Send that variable/value as a header parameter in all POST requests.
Last modified 13d ago