Skip to main content

subteam_self_added event

You have been added to a User Group

Facts

Required Scopes
Compatible APIs

Usage info

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

{
"token": "XXYYZZ",
"team_id": "T123ABC456",
"api_app_id": "A123ABC456",
"event": {
"type": "subteam_self_added",
"subteam_id": "S0615G0KT"
},
"type": "event_callback",
"authed_users": [
"U123ABC456",
"U222222222"
],
"event_id": "Ev123ABC456",
"event_time": 123456789
}

The subteam_self_added event is sent to you when you have been added to an existing User Group. Clients can use this to update their local list of User Groups.

This event is not available to bot users subscriptions in the Events API.