Skip to main content

invite_requested event

When an application subscribed to the invite_requested event is installed to an org, workspace owners and admins will no longer receive invite notifications from Slackbot.

User requested an invite

Facts

Required Scopes
Compatible APIs

Usage info

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

{
"token": "XXYYZZ",
"team_id": "T123ABC456",
"api_app_id": "A123ABC456",
"event": {
"type": "invite_requested",
"invite_request": {
"id": "12345",
"email": "bront@puppies.com",
"date_created": 123455,
"requester_ids": [
"U123ABC456"
],
"channel_ids": [
"C123ABC456"
],
"invite_type": "full_member",
"real_name": "Brent",
"date_expire": 123456,
"request_reason": "They're good dogs, Brant",
"team": {
"id": "T12345",
"name": "Puppy ratings workspace incorporated",
"domain": "puppiesrus"
}
}
},
"type": "event_callback",
"authed_users": [
"U123ABC456",
"U222222222"
],
"event_id": "Ev123ABC456",
"event_time": 123456789
}