Integrations for AI agents
Integrations deliver notifications when events occur in a project — errors, deploys, uptime changes, check-in misses, and alarm triggers. Each integration connects to an external service (webhook, PagerDuty, email, etc.) and belongs to one project.
Integration types
Created and working through the API alone:
| Type | Required config | Optional config |
|---|---|---|
CampfireV3 | chatbot_url | — |
Datadog | api_key | endpoint (US1/US3/US5/US1-FED/EU1/AP1), label, send_metrics |
DiscordWebhook | url | label |
Jira | username, password, server_url, project_key | resolve_transition, reopen_transition, labels, component_names, issue_type, summary_format, rich_body |
OpsGenieV2 | api_key | endpoint (US/EU/Sandbox), label |
Redmine | server_url, api_key | resolve_transition, reopen_transition |
PagerDutyV2 | integration_key | severity (critical/error/warning/info), label |
Sprintly | account_email, api_key, product_id | tags |
Mattermost | url | label |
GoogleHangoutsChat | url | label |
VictorOps | api_key | routing_key, label |
WebHook | url | bearer_token, label, payload_version (v2/v3) |
Email | email_subject | |
AlertOps | url | label |
MicrosoftTeamsV2 | url | label |
ShortcutV2 | organization_name, api_key, team, initial_state, resolve_transition, reopen_transition | title_format, description_format, custom_fields |
PagerTree | url | — |
Instatus | url | label |
Ilert | url | label |
Zulip | bot_email, api_key, channel, topic | zulip_domain, server_url |
IncidentIo | api_key, alert_source_label | — |
Rootly | webhook_authorization_token | notification_target_type (service/team/escalationPolicy), notification_target_id, label |
Backlog | space_url, api_key, backlog_project_id, issue_type_id, priority_id, resolve_status_id, reopen_status_id | label, enable_webhook, subject_format, description_format |
Zulip also needs one of zulip_domain or server_url.
An Email integration may deliver nothing until the recipient confirms the address from an email Honeybadger sends them. The API doesn’t show whether it’s confirmed, so tell the user to look for that email.
Created through the API, then connected by the user (OAuth):
| Type | Required config | Optional config |
|---|---|---|
Github | repo | labels, issue_type, issue_fields, title_format, rich_body |
Gitlab | repo | labels, server_url, personal_access_token, title_format, rich_body |
Bitbucket | repo | — |
Asana | asana_project_id | — |
JiraCloud | project_key | resolve_transition, reopen_transition, labels, component_names, issue_type, summary_format, rich_body |
Trello | board_id, list_id | title_format |
Linear | team_id | linear_project_id, label_ids, unresolved_state_id, resolved_state_id, label, title_format, description_format |
Slack | — | label, disable_backtrace |
Intercom | context_field | — |
ClickUp | workspace_id, teamspace_id, list_id, initial_status_id, resolve_status_id, reopen_status_id | folder_id, tags, title_format, description_format |
ClickUpChat | workspace_id, channel_id | — |
An OAuth integration sends nothing until it’s connected. Check connected in the response; when it’s false, give the user the integration’s links.web URL to open and authorize. It starts working once connected, with no further request. Connecting doesn’t change active: one created with active: false needs active: true afterwards.
For GitHub, connecting means installing the Honeybadger GitHub App on the repo. Saving a GitHub integration active when the linked GitHub account can’t reach the repo is a 422; with active: false that check doesn’t run.
Some required settings are the other service’s own ids: a Linear team_id, a Trello board_id and list_id, ClickUp workspace, teamspace, list and status ids. Look them up with that service’s API or your tools for it, or ask the user; never substitute Honeybadger ids.
Creating an integration
POST /v3/projects/{project_id}/integrations{ "type": "WebHook", "config": {"url": "https://example.com/hook"}, "events": ["deployed", "resolved"]}config: the type’s settings from the tables above. Settings go insideconfig, never at the top levelactivedefaults to true, andeventsto the type’s default events the plan includes, so a create without them starts notifying at oncesite_ids/check_in_ids: a list follows just those sites or check-ins,[]follows none, andnullfollows every one, including ones added later. Left out on create, they follow every onealarm_alert_ids/alarm_ok_ids: the alarms whose trigger (alarm_alert_ids) or recovery (alarm_ok_ids) this integration notifies on. Alarm notifications are wired per alarm: subscribing toalarm_alertoralarm_okineventswithout listing alarm ids here notifies on no alarmfilters: a list of{"event": "...", "query": "..."}, wherequeryis error search syntax (see the errors instructions) andeventis an event name orall. An event with no filters notifies for every error; once it has filters, it notifies only when ANY of them matches. So the first filter narrows, and each one after it widens. Filters only apply to events about an error (occurred,rate_exceeded,assigned,resolved,unresolved,commented, and afloodednotification an error triggered); one on any other event is accepted but filters nothingexcluded_environments/included_environments: environment names to skip, or to limit to. Excluded wins when a name is in bothrate/threshold: whenrate_exceededfires —thresholdoccurrences (default 100) withinrate:min,hour,wday(24 hours, not weekdays; the default) orweeknotification_limit: flood control, applied only whileeventsincludesflooded. Once more than this many notifications have gone out in 10 minutes, further ones are skipped and a singlefloodednotification is sent (webhooks skip without sending one)
Updating an integration
PATCH /v3/projects/{project_id}/integrations/{id} changes only the fields it sends, but each list it sends (events, filters, the environment lists, and the site, check-in and alarm ids) replaces the stored one: to add one entry, send the existing entries too.
config merges into the stored settings, and null for a config key resets it to its default. Secrets (API keys, tokens) are never returned; leave them out to keep them.
null at the top level widens: site_ids / check_in_ids follow every site or check-in, events goes back to the type’s defaults the plan includes, and filters and the environment lists are cleared.
error and error_reason appear when delivery failed and stopped. Fix the cause, then update the integration: a successful update clears them and deliveries resume.
Events
Not every type supports every event.
occurred— error first reported, or recurred after resolutionrate_exceeded— error rate passedthresholdwithinrateassigned— error assigned to a team memberresolved— error marked resolvedunresolved— error reopenedcommented— comment added to an errordeployed— deploy recordedup— monitored site came back updown— monitored site went downcert_will_expire— SSL certificate expiring soonflooded— notifications skipped afternotification_limitwas reachedcheck_in_missing— scheduled process missed its check-incheck_in_reporting— a missing check-in reported again (recovery)alarm_alert— Insights alarm triggered (seealarm_alert_ids)alarm_ok— Insights alarm recovered (seealarm_ok_ids)volume_spike— error volume anomaly detected
Webhooks
A WebHook integration POSTs JSON to its url for each subscribed event. payload_version picks the body: v2 (the default) or v3. Any 2xx counts as delivered. A 5xx is retried up to five times. When those run out, or on any other response, a timeout or a refused connection, the integration’s error is set and deliveries stop until the integration is updated.