Skip to main content

team_access_granted event

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

Facts

Required Scopes
No scopes required!
Compatible APIs

Usage info

This example includes both the event wrapper and the event structure for the team_access_granted event.

{
"token": "XXYYZZ",
"team_id": "T123ABC456",
"api_app_id": "A123ABC456",
"event": {
"team_id": null,
"enterprise_id": "EXXXXX",
"api_app_id": "AXXXX",
"event": {
"type": "team_access_granted",
"team_ids": [
"T1XX3",
"TXX34"
]
}
},
"type": "event_callback",
"authed_users": [
"U123ABC456",
"U222222222"
],
"event_id": "Ev123ABC456",
"event_time": 123456789
}

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