user_resource_denied event

User resource was denied to your app

Facts

Works with

Events API

Workspace apps are deprecated

Legacy workspace apps are deprecated and will retire in August 2021. Learn more.

{
    "token": "XXYYZZ",
    "team_id": "TXXXXXXXX",
    "api_app_id": "AXXXXXXXXX",
    "event": {
        "type": "user_resource_denied",
        "user": "WXXXXXXXX",
        "scopes": [
            "reminders:write:user",
            "reminders:read:user"
        ],
        "trigger_id": "27082968880.6048553856.5eb9c671f75c636135fdb6bb9e87b606"
    },
    "type": "event_callback",
    "authed_teams": [],
    "event_id": "EvXXXXXXXX",
    "event_time": 1234567890
}

We send this event when a user declines to grant your workspace app the permissions you recently requested with apps.permissions.users.request.

When an event occurs, we will send an HTTP POST request to your Request URL. The outer payload is uniform across all Events API methods, and contains fields like team_id and event. Learn more