Skip to content
Sursa Developers

Events · People and access

app.authorized

App authorized

An employee authorized an OAuth app or granted it more scopes (data.app: id, name; data.authorization_id, data.user_id, data.scopes).

Object type
app
Delivered to
Endpoints with the admin role

Payload

Object: EventAppAuthorized

  • idstringrequired

    Event ID (evt_…), also sent as the webhook-id header. Use it to drop duplicate deliveries.

  • typestringrequired

    Allowed values: app.authorized

  • created_atstring (date-time)required

    When the change happened (UTC).

  • org_idintegerrequired
  • api_versionstringrequired

    Contract version of the data schema.

  • sequenceinteger

    Delivery sequence number within the endpoint (absent for a test event).

  • objectWebhookEventObjectrequired
  • payloadstringrequired

    thin means no data: read the object through the API.

    Allowed values: fullthin

  • dataobject
    Fields
    • appobjectrequired

      The app: ID and name.

      Fields
      • idstring
      • namestring
    • authorization_idintegerrequired

      The employee authorization.

    • user_idintegerrequired

      The employee who authorized the app.

    • scopesarray of stringrequired

      Scopes of the authorization.

  • testbooleanrequired

    A test event sent by POST /v1/webhooks/{webhook_id}/test.

Example delivery

{
  "id": "evt_0123456789abcdef0123456789abcdef",
  "type": "app.authorized",
  "created_at": "2026-10-24T10:00:03Z",
  "org_id": 1,
  "api_version": "1.62.0",
  "sequence": 1042,
  "object": {
    "type": "app",
    "id": "app_8f14e45fceea167a5a36dedd4bea2543"
  },
  "payload": "full",
  "data": {
    "app": {
      "id": "app_8f14e45fceea167a5a36dedd4bea2543",
      "name": "CRM sync"
    },
    "authorization_id": 12,
    "user_id": 7,
    "scopes": [
      "cards:read",
      "search"
    ]
  },
  "test": false
}

Receiving events

Each delivery is a POST request with this JSON body to your endpoint. Verify the webhook-signature header (Standard Webhooks) before you trust the body, answer with a 2xx status within a few seconds, and do the work afterwards. Deliveries to one endpoint keep the order of events; a failed delivery is retried with growing pauses.

New event types and new fields can appear at any time: skip the types and fields you do not know.

The same events are in the event feed for 30 days →