user_huddle_changed event
A member's data has changed
Facts
Required Scopes
Usage info
The user_huddle_changed event is sent to all connections for a workspace when a users's huddle status is changed.
The event is identical to the existing user_change event. Both user_change and user_huddle_changed are dispatched at the exact same time.
Use the users.profile.set method to update user profile data.
Example payload
This example includes both the event wrapper and the event structure for the user_huddle_changed event.
{
"token": "XXYYZZ",
"team_id": "T123ABC456",
"api_app_id": "A123ABC456",
"event": {
"type": "user_huddle_changed",
"user": {
"id": "U1234567",
"team_id": "T1234567",
"name": "some-user",
"deleted": false,
"color": "4bbe2e",
"real_name": "Some User",
"tz": "America/Los_Angeles",
"tz_label": "Pacific Daylight Time",
"tz_offset": -25200,
"profile": {
"title": "",
"phone": "",
"skype": "",
"real_name": "Some User",
"real_name_normalized": "Some User",
"display_name": "",
"display_name_normalized": "",
"fields": {},
"status_text": "riding a train",
"status_emoji": ":mountain_railway:",
"status_emoji_display_info": [],
"status_expiration": 0,
"avatar_hash": "g12345678910",
"huddle_state": "in_a_huddle",
"huddle_state_expiration_ts": 1746217265,
"huddle_state_call_id": "R017QJ4PEN7",
"first_name": "Some",
"last_name": "User",
"image_24": "https://secure.gravatar.com/avatar/cb0c2b2ca5e8de16be31a55a734d0f31.jpg?s=24&d=https%3A%2F%2Fdev.slack.com%2Fdev-cdn%2Fv1648136338%2Fimg%2Favatars%2Fuser_shapes%2Fava_0001-24.png",
"image_32": "https://secure.gravatar.com/avatar/cb0c2b2ca5e8de16be31a55a734d0f31.jpg?s=32&d=https%3A%2F%2Fdev.slack.com%2Fdev-cdn%2Fv1648136338%2Fimg%2Favatars%2Fuser_shapes%2Fava_0001-32.png",
"image_48": "https://secure.gravatar.com/avatar/cb0c2b2ca5e8de16be31a55a734d0f31.jpg?s=48&d=https%3A%2F%2Fdev.slack.com%2Fdev-cdn%2Fv1648136338%2Fimg%2Favatars%2Fuser_shapes%2Fava_0001-48.png",
"image_72": "https://secure.gravatar.com/avatar/cb0c2b2ca5e8de16be31a55a734d0f31.jpg?s=72&d=https%3A%2F%2Fdev.slack.com%2Fdev-cdn%2Fv1648136338%2Fimg%2Favatars%2Fuser_shapes%2Fava_0001-72.png",
"image_192": "https://secure.gravatar.com/avatar/cb0c2b2ca5e8de16be31a55a734d0f31.jpg?s=192&d=https%3A%2F%2Fdev.slack.com%2Fdev-cdn%2Fv1648136338%2Fimg%2Favatars%2Fuser_shapes%2Fava_0001-192.png",
"image_512": "https://secure.gravatar.com/avatar/cb0c2b2ca5e8de16be31a55a734d0f31.jpg?s=512&d=https%3A%2F%2Fdev.slack.com%2Fdev-cdn%2Fv1648136338%2Fimg%2Favatars%2Fuser_shapes%2Fava_0001-512.png",
"status_text_canonical": "",
"team": "T1234567"
},
"is_admin": false,
"is_owner": false,
"is_primary_owner": false,
"is_restricted": false,
"is_ultra_restricted": false,
"is_bot": false,
"is_app_user": false,
"updated": 1648596421,
"is_email_confirmed": true,
"who_can_share_contact_card": "EVERYONE",
"locale": "en-US"
},
"cache_ts": 1648596421,
"event_ts": "1648596712.000001"
},
"type": "event_callback",
"authed_users": [
"U123ABC456",
"U222222222"
],
"event_id": "Ev123ABC456",
"event_time": 123456789
}
When an event occurs, we will send an HTTP POST request to your Request URL.
The outer payload is uniform across all Events API methods, and contains fields like team_id and event. Learn more.