BugSnag

App · 25 actions

Report and manage BugSnag errors: fix, ignore, assign and comment on errors, read their events and releases, and manage projects and collaborators, with triggers for new errors, events and releases.

Actions

ActionWhat it does
Comment on errorAdd a comment to an error.
Create projectCreate a project in an organization.
Delete commentDelete a comment.
Delete errorDelete an error and all its events.
Delete eventDelete one event.
Delete projectDelete a project and all its errors and events.
Get errorGet an error's class, message, status, severity and counts.
Get eventGet one event in full: its stack trace, app, device, user, request and metadata.
Get latest eventGet the most recent event of an error, in full.
Get projectGet a project's settings, notifier API key and error counts.
Get releaseGet a release's version, source control details, errors and stability.
Invite collaboratorInvite someone to an organization by email, to some projects or as an administrator.
List collaboratorsList the people in an organization.
List error commentsList the comments on an error.
List error eventsList each occurrence (event) of an error, newest first.
List errorsList a project's errors, optionally by status, severity, release stage or since a time.
List organizationsList the BugSnag organizations you belong to.
List project eventsList the events of every error in a project, newest first.
List projectsList an organization's projects with their open error counts.
List releasesList a project's releases with the errors each introduced and its session counts.
Remove collaboratorRemove someone from an organization.
Report errorSend an error to a BugSnag project, as an app's notifier would, with the project's notifier API key.
Update collaboratorChange which projects a collaborator can see, or whether they're an administrator.
Update errorChange an error: mark it fixed, reopen or ignore it, change its severity, assign it, link or create an issue, or discard its new events.
Update projectRename a project or change its settings.

Comment on error

Add a comment to an error.

Inputs

Projectproject_idtextRequired
The project.
Errorerror_idtextRequired
The error.
CommentmessagetextRequired
The comment.

Outputs

dataobject
The response from BugSnag.
Example output
{
  "data": {
    "created_at": "example",
    "id": "example",
    "message": "example"
  }
}

Create project

Create a project in an organization.

Inputs

Organizationorganization_idtextRequired
The organization.
NamenametextRequired
The project's name.
PlatformtypetextRequired
The platform or framework the project reports from.One of: android, angular, asgi, aspnet (ASP.NET), aspnet_core (ASP.NET Core), backbone, bottle, cocos2dx, connect, django, and 57 more.
Ignore old browsersignore_old_browserstrue/false
For JavaScript projects: ignore events from old browsers.

Outputs

dataobject
The response from BugSnag.
Example output
{
  "data": {
    "api_key": "example",
    "collaborators_count": 1,
    "created_at": "example",
    "discarded_app_versions": [
      "example"
    ],
    "discarded_errors": [
      "example"
    ],
    "for_review_error_count": 1,
    "html_url": "example",
    "id": "example",
    "ignore_old_browsers": true,
    "language": "example",
    "name": "example",
    "open_error_count": 1,
    "organization_id": "example",
    "release_stages": [
      "example"
    ],
    "resolve_on_deploy": true,
    "slug": "example",
    "type": "example",
    "updated_at": "example"
  }
}

Delete comment

Delete a comment.

Inputs

Comment IDcomment_idtextRequired
The comment's ID, from List error comments or Comment on error.

Outputs

dataobject
The response from BugSnag.
Example output
{
  "data": {}
}

Delete error

Delete an error and all its events.

Inputs

Projectproject_idtextRequired
The project.
Errorerror_idtextRequired
The error.

Outputs

dataobject
The response from BugSnag.
Example output
{
  "data": {}
}

Delete event

Delete one event.

Inputs

Projectproject_idtextRequired
The project.
Event IDevent_idtextRequired
The event's ID, from List error events.

Outputs

dataobject
The response from BugSnag.
Example output
{
  "data": {}
}

Delete project

Delete a project and all its errors and events.

Inputs

Projectproject_idtextRequired
The project.

Outputs

dataobject
The response from BugSnag.
Example output
{
  "data": {}
}

Get error

Get an error's class, message, status, severity and counts.

Inputs

Projectproject_idtextRequired
The project.
Errorerror_idtextRequired
The error.

Outputs

dataobject
The response from BugSnag.
Example output
{
  "data": {
    "assigned_collaborator_id": "example",
    "comment_count": 1,
    "context": "example",
    "discarded": true,
    "error_class": "example",
    "events": 1,
    "first_seen": "example",
    "id": "example",
    "last_seen": "example",
    "message": "example",
    "original_severity": "example",
    "overridden_severity": "example",
    "project_id": "example",
    "release_stages": [
      "example"
    ],
    "severity": "example",
    "status": "example",
    "url": "example",
    "users": 1
  }
}

Get event

Get one event in full: its stack trace, app, device, user, request and metadata.

Inputs

Projectproject_idtextRequired
The project.
Event IDevent_idtextRequired
The event's ID, from List error events.

Outputs

dataobject
The response from BugSnag.
Example output
{
  "data": {
    "app": {},
    "context": "example",
    "device": {},
    "error_id": "example",
    "exceptions": [
      {
        "errorClass": "example",
        "message": "example"
      }
    ],
    "id": "example",
    "metaData": {},
    "received_at": "example",
    "request": {},
    "severity": "example",
    "unhandled": true,
    "url": "example",
    "user": {}
  }
}

Get latest event

Get the most recent event of an error, in full.

Inputs

Projectproject_idtextRequired
The project.
Errorerror_idtextRequired
The error.

Outputs

dataobject
The response from BugSnag.
Example output
{
  "data": {
    "app": {},
    "context": "example",
    "device": {},
    "error_id": "example",
    "exceptions": [
      {
        "errorClass": "example",
        "message": "example"
      }
    ],
    "id": "example",
    "metaData": {},
    "received_at": "example",
    "request": {},
    "severity": "example",
    "unhandled": true,
    "url": "example",
    "user": {}
  }
}

Get project

Get a project's settings, notifier API key and error counts.

Inputs

Projectproject_idtextRequired
The project.

Outputs

dataobject
The response from BugSnag.
Example output
{
  "data": {
    "api_key": "example",
    "collaborators_count": 1,
    "created_at": "example",
    "discarded_app_versions": [
      "example"
    ],
    "discarded_errors": [
      "example"
    ],
    "for_review_error_count": 1,
    "html_url": "example",
    "id": "example",
    "ignore_old_browsers": true,
    "language": "example",
    "name": "example",
    "open_error_count": 1,
    "organization_id": "example",
    "release_stages": [
      "example"
    ],
    "resolve_on_deploy": true,
    "slug": "example",
    "type": "example",
    "updated_at": "example"
  }
}

Get release

Get a release's version, source control details, errors and stability.

Inputs

Projectproject_idtextRequired
The project.
Releaserelease_idtextRequired
The release.

Outputs

dataobject
The response from BugSnag.
Example output
{
  "data": {
    "app_version": "example",
    "build_label": "example",
    "builder_name": "example",
    "errors_introduced_count": 1,
    "errors_seen_count": 1,
    "id": "example",
    "project_id": "example",
    "release_group_id": "example",
    "release_source": "example",
    "release_stage": {
      "name": "example"
    },
    "release_time": "example",
    "total_sessions_count": 1,
    "unhandled_sessions_count": 1
  }
}

Invite collaborator

Invite someone to an organization by email, to some projects or as an administrator.

Inputs

Organizationorganization_idtextRequired
The organization.
EmailemailtextRequired
Their email address.
Projectsproject_idslist
The projects they can see. Administrators see every project.
Administratoradmintrue/false
Make them an administrator of the organization.

Outputs

dataobject
The response from BugSnag.
Example output
{
  "data": {
    "email": "example",
    "id": "example",
    "name": "example"
  }
}

List collaborators

List the people in an organization.

Inputs

Organizationorganization_idtextRequired
The organization.
How manyper_pagenumber
How many to return, up to 100. Leave empty for BugSnag's default.From 1 to 100.

Outputs

datalist
The response from BugSnag.
Example output
{
  "data": [
    {
      "email": "example",
      "id": "example",
      "name": "example"
    }
  ]
}

List error comments

List the comments on an error.

Inputs

Projectproject_idtextRequired
The project.
Errorerror_idtextRequired
The error.
Directiondirectiontext
The direction to sort in. Leave empty for descending.One of: desc (Descending), asc (Ascending).
How manyper_pagenumber
How many to return, up to 100. Leave empty for BugSnag's default.From 1 to 100.

Outputs

datalist
The response from BugSnag.
Example output
{
  "data": [
    {
      "created_at": "example",
      "id": "example",
      "message": "example"
    }
  ]
}

List error events

List each occurrence (event) of an error, newest first.

Inputs

Projectproject_idtextRequired
The project.
Errorerror_idtextRequired
The error.
Full detailsfull_reportstrue/false
Return every event in full, with its stack trace and metadata.
Directiondirectiontext
The direction to sort in. Leave empty for descending.One of: desc (Descending), asc (Ascending).
How manyper_pagenumber
How many to return, up to 100. Leave empty for BugSnag's default.From 1 to 100.
Beforebeforedate and time
Only records from before this time, for reading further back.

Outputs

datalist
The response from BugSnag.
Example output
{
  "data": [
    {
      "app": {},
      "context": "example",
      "device": {},
      "error_id": "example",
      "exceptions": [
        {
          "errorClass": "example",
          "message": "example"
        }
      ],
      "id": "example",
      "metaData": {},
      "received_at": "example",
      "request": {},
      "severity": "example",
      "unhandled": true,
      "url": "example",
      "user": {}
    }
  ]
}

List errors

List a project's errors, optionally by status, severity, release stage or since a time.

Inputs

Projectproject_idtextRequired
The project.
Statusstatustext
Only errors with this status.One of: open, in progress, for_review (For review), fixed, snoozed, ignored.
Severityseveritytext
Only errors of this severity.One of: error, warning, info.
Release stagerelease_stagetext
Only errors seen in this release stage, such as production.
Seen sincesincedate and time
Only errors with events since this time.
Sort bysorttext
How to sort. Leave empty for last seen.One of: last_seen (Last seen), first_seen (First seen), users (Users affected), events.
Directiondirectiontext
The direction to sort in. Leave empty for descending.One of: desc (Descending), asc (Ascending).
How manyper_pagenumber
How many to return, up to 100. Leave empty for BugSnag's default.From 1 to 100.
Beforebeforedate and time
Only records from before this time, for reading further back.

Outputs

datalist
The response from BugSnag.
Example output
{
  "data": [
    {
      "assigned_collaborator_id": "example",
      "comment_count": 1,
      "context": "example",
      "discarded": true,
      "error_class": "example",
      "events": 1,
      "first_seen": "example",
      "id": "example",
      "last_seen": "example",
      "message": "example",
      "original_severity": "example",
      "overridden_severity": "example",
      "project_id": "example",
      "release_stages": [
        "example"
      ],
      "severity": "example",
      "status": "example",
      "url": "example",
      "users": 1
    }
  ]
}

List organizations

List the BugSnag organizations you belong to.

Inputs

Admin onlyadmintrue/false
Only organizations you're an administrator of.
How manyper_pagenumber
How many to return, up to 100. Leave empty for BugSnag's default.From 1 to 100.

Outputs

datalist
The response from BugSnag.
Example output
{
  "data": [
    {
      "auto_upgrade": true,
      "billing_emails": [
        "example"
      ],
      "created_at": "example",
      "id": "example",
      "name": "example",
      "slug": "example",
      "updated_at": "example"
    }
  ]
}

List project events

List the events of every error in a project, newest first.

Inputs

Projectproject_idtextRequired
The project.
Full detailsfull_reportstrue/false
Return every event in full, with its stack trace and metadata.
Directiondirectiontext
The direction to sort in. Leave empty for descending.One of: desc (Descending), asc (Ascending).
How manyper_pagenumber
How many to return, up to 100. Leave empty for BugSnag's default.From 1 to 100.
Beforebeforedate and time
Only records from before this time, for reading further back.

Outputs

datalist
The response from BugSnag.
Example output
{
  "data": [
    {
      "app": {},
      "context": "example",
      "device": {},
      "error_id": "example",
      "exceptions": [
        {
          "errorClass": "example",
          "message": "example"
        }
      ],
      "id": "example",
      "metaData": {},
      "received_at": "example",
      "request": {},
      "severity": "example",
      "unhandled": true,
      "url": "example",
      "user": {}
    }
  ]
}

List projects

List an organization's projects with their open error counts.

Inputs

Organizationorganization_idtextRequired
The organization.
Name containsqtext
Only projects whose name contains this text.
Sort bysorttext
How to sort.One of: created_at (Created).
Directiondirectiontext
The direction to sort in. Leave empty for descending.One of: desc (Descending), asc (Ascending).
How manyper_pagenumber
How many to return, up to 100. Leave empty for BugSnag's default.From 1 to 100.

Outputs

datalist
The response from BugSnag.
Example output
{
  "data": [
    {
      "api_key": "example",
      "collaborators_count": 1,
      "created_at": "example",
      "discarded_app_versions": [
        "example"
      ],
      "discarded_errors": [
        "example"
      ],
      "for_review_error_count": 1,
      "html_url": "example",
      "id": "example",
      "ignore_old_browsers": true,
      "language": "example",
      "name": "example",
      "open_error_count": 1,
      "organization_id": "example",
      "release_stages": [
        "example"
      ],
      "resolve_on_deploy": true,
      "slug": "example",
      "type": "example",
      "updated_at": "example"
    }
  ]
}

List releases

List a project's releases with the errors each introduced and its session counts.

Inputs

Projectproject_idtextRequired
The project.
Release stagerelease_stagetext
Only releases in this release stage, such as production.
Sort bysorttext
How to sort. Leave empty for release time.One of: timestamp (Release time), percent_of_sessions (Share of sessions).
How manyper_pagenumber
How many to return, up to 100. Leave empty for BugSnag's default.From 1 to 100.
Beforebeforedate and time
Only records from before this time, for reading further back.

Outputs

datalist
The response from BugSnag.
Example output
{
  "data": [
    {
      "app_version": "example",
      "build_label": "example",
      "builder_name": "example",
      "errors_introduced_count": 1,
      "errors_seen_count": 1,
      "id": "example",
      "project_id": "example",
      "release_group_id": "example",
      "release_source": "example",
      "release_stage": {
        "name": "example"
      },
      "release_time": "example",
      "total_sessions_count": 1,
      "unhandled_sessions_count": 1
    }
  ]
}

Remove collaborator

Remove someone from an organization.

Inputs

Organizationorganization_idtextRequired
The organization.
Collaboratorcollaborator_idtextRequired
The collaborator.

Outputs

dataobject
The response from BugSnag.
Example output
{
  "data": {}
}

Report error

Send an error to a BugSnag project, as an app's notifier would, with the project's notifier API key.

Inputs

Projectproject_idtextRequired
The project.
Error classerror_classtextRequired
The error's class or kind, such as PaymentFailed.
MessagemessagetextRequired
What went wrong.
Severityseveritytext
How serious it is. Leave empty for error.One of: error, warning, info.
Release stagerelease_stagetext
The release stage, such as staging. Leave empty for production.
App versionapp_versiontext
The version of your app.
Contextcontexttext
What was happening, such as a page or job name.
User IDaffected_user_idtext
The ID of the user it happened to.
User emailaffected_user_emailtext
The email of the user it happened to.
Metadatametadataobject
Extra details to show with the error, in its Custom tab.
Grouping hashgrouping_hashtext
Errors with the same grouping hash are grouped into one error.

Outputs

dataobject
The response from BugSnag.
Example output
{
  "data": {
    "project_id": "example",
    "sent": true
  }
}

Update collaborator

Change which projects a collaborator can see, or whether they're an administrator.

Inputs

Organizationorganization_idtextRequired
The organization.
Collaboratorcollaborator_idtextRequired
The collaborator.
Projectsproject_idslist
The projects they can see. Replaces their current projects.
Administratoradmintrue/false
Make them an administrator of the organization.

Outputs

dataobject
The response from BugSnag.
Example output
{
  "data": {
    "email": "example",
    "id": "example",
    "name": "example"
  }
}

Update error

Change an error: mark it fixed, reopen or ignore it, change its severity, assign it, link or create an issue, or discard its new events.

Inputs

Projectproject_idtextRequired
The project.
Errorerror_idtextRequired
The error.
ChangeoperationtextRequired
What to do.One of: fix (Mark fixed), open, ignore, override_severity (Change severity), assign (Assign to a collaborator), link_issue (Link an issue), unlink_issue (Unlink its issue), create_issue (Create an issue in the issue tracker), discard (Discard new events), undiscard (Keep new events again).
Severityseveritytext
For Change severity: the new severity.One of: error, warning, info.
Assigneeassigned_collaborator_idtext
For Assign: who to assign it to. Leave empty to unassign.
Organizationorganization_idtext
For Assign: the organization whose collaborators to choose from.
Issue URLissue_urltext
For Link an issue: the issue's address.
Issue titleissue_titletext
For Create an issue: the issue's title.

Outputs

dataobject
The response from BugSnag.
Example output
{
  "data": {
    "assigned_collaborator_id": "example",
    "comment_count": 1,
    "context": "example",
    "discarded": true,
    "error_class": "example",
    "events": 1,
    "first_seen": "example",
    "id": "example",
    "last_seen": "example",
    "message": "example",
    "original_severity": "example",
    "overridden_severity": "example",
    "project_id": "example",
    "release_stages": [
      "example"
    ],
    "severity": "example",
    "status": "example",
    "url": "example",
    "users": 1
  }
}

Update project

Rename a project or change its settings. Only the fields filled in change.

Inputs

Projectproject_idtextRequired
The project.
Namenametext
The project's new name.
Fix errors on deployresolve_on_deploytrue/false
Mark every error fixed when a new production deploy is reported.
Ignore old browsersignore_old_browserstrue/false
For JavaScript projects: ignore events from old browsers.
Discarded app versionsdiscarded_app_versionslist
App versions whose events are discarded. Replaces the current list.
Discarded error classesdiscarded_errorslist
Error classes whose events are discarded. Replaces the current list.

Outputs

dataobject
The response from BugSnag.
Example output
{
  "data": {
    "api_key": "example",
    "collaborators_count": 1,
    "created_at": "example",
    "discarded_app_versions": [
      "example"
    ],
    "discarded_errors": [
      "example"
    ],
    "for_review_error_count": 1,
    "html_url": "example",
    "id": "example",
    "ignore_old_browsers": true,
    "language": "example",
    "name": "example",
    "open_error_count": 1,
    "organization_id": "example",
    "release_stages": [
      "example"
    ],
    "resolve_on_deploy": true,
    "slug": "example",
    "type": "example",
    "updated_at": "example"
  }
}

On this page