Go to Slack

user_resource_granted event

Developer preview has ended

This feature was exclusive to our workspace apps developer preview. The preview has now ended, but fan-favorite features such as token rotation and the Conversations API will become available to classic Slack apps over the coming months.

User resource was granted to your app

Compatibility: Events API


{
    "token": "XXYYZZ",
    "team_id": "TXXXXXXXX",
    "api_app_id": "AXXXXXXXXX",
    "event": {
        "type": "user_resource_granted",
        "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 grants your workspace app the permissions you recently requested with apps.permissions.users.request. Now you can work on their behalf!

Events API compatibility

Subscribe to this event via the Events API.

Events of this type will be wrapped in metadata when sent via the Events API.

Unavailable in the RTM API

This event type is compatible only with the Events API.