Logo of AppSignal

Menu
Docs navigation

Webhooks

AppSignal can send notifications of new incidents to several services, like Campfire and Slack. We also offer webhooks for these notifications.

To receive a webhook, go to the "Notifications" tab the site's sidebar, click the "Add integratio" and fill out the url where you'd like to receive your webhook data.

Webhook

Depending on the incident we push three different JSON bodies.

Marker

1
2
3
4
5
6
7
8
9
10
{
  "marker":{
    "user": "thijs",
    "site": "AppSignal",
    "environment": "test",
    "revision": "3107ddc4bb053d570083b4e3e425b8d62532ddc9",
    "repository": "git@github.com:appsignal/appsignal.git",
    "url": "https://appsignal.com/test/sites/1385f7e38c5ce90000000000/web/exceptions"
  }
}

Exception

1
2
3
4
5
6
7
8
9
10
11
12
13
14
{
  "exception":{
    "exception": "ActionView::Template::Error",
    "site": "AppSignal",
    "message": "undefined method `encoding' for nil:NilClass",
    "action": "App::ErrorController#show",
    "path": "/errors",
    "revision": "3107ddc4bb053d570083b4e3e425b8d62532ddc9",
    "user": "thijs",
    "first_backtrace_line": "/usr/local/rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/cgi/util.rb:7:in `escape'",
    "url": "https://appsignal.com/test/sites/1385f7e38c5ce90000000000/web/exceptions/App::SnapshotsController-show/ActionView::Template::Error",
    "environment": "test"
  }
}

Performance

1
2
3
4
5
6
7
8
9
10
11
12
13
14
{
  "performance":{
    "site": "AppSignal",
    "action": "App::ExceptionsController#index",
    "path": "/slow",
    "duration": 552.7897429999999,
    "status": 200,
    "hostname": "frontend.appsignal.com",
    "revision": "3107ddc4bb053d570083b4e3e425b8d62532ddc9",
    "user": "thijs",
    "url": "https://appsignal.com/test/sites/1385f7e38c5ce90000000000/web/performance/App::ExceptionsController-index",
    "environment": "test"
  }
}

We'd like to set cookies, read why.