The connection.enabled event is fired when a user successfully connects a connector, including authorizing your app to access the 3rd party API.

Event Type

connection.enabled

Payload

PropertyType
connectorConnector
contextUser
POST /your/webhook/url HTTP/1.1
Accept: application/json
Host: your-domain.com
Content-Type: application/json

{
  "event_type": "connection.enabled",
  "payload": {
    "connector": {
      "slug": "github-oauth"
    },
    "context": {
      "external_id": "jFGlE7LIClQ30kdcFXb5epTDetC2"
    }
  }
}