team_access_granted event

Access to a set of teams was granted to your org app

Compatibility: Events API


{
    "team_id": null,
    "enterprise_id": "EXXXXX",
    "api_app_id": "AXXXX",
    "event": {
        "type": "team_access_granted",
        "team_ids": ["T1XX3", "TXX34"]
    }
}

The team_access_granted event is sent to your org-wide app when your token is given access to a new workspace.

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.

As an app event, subscriptions require no specific OAuth permission scope.

Unavailable in the RTM API

This event type is compatible only with the Events API.

Was this page helpful?