Skip to main content

user_status_changed event

A user's status has changed

Facts

Required Scopes
Compatible APIs

Usage info

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

{
"token": "XXYYZZ",
"team_id": "T123ABC456",
"api_app_id": "A123ABC456",
"event": {
"type": "user_status_changed",
"user": {
"id": "U123ABC456",
"team_id": "T123ABC456",
"name": "sandraslacksalot",
"profile": {
"avatar_hash": "gexxxyyyzzz",
"status_text": "Commuting to office!",
"status_emoji": ":docs-team-in-transit:",
"status_expiration": 0,
"real_name": "Sandra Slacksalot",
"display_name": "sandraslacksalot",
"real_name_normalized": "Sandra Slacksalot",
"display_name_normalized": "sandraslacksalot",
"image_72": "https://example.com/img/we-miss-sandra.png"
},
"updated": 1734567890
},
"cache_ts": 1734567890,
"event_ts": "1734567890.000001"
},
"type": "event_callback",
"event_id": "Ev0123ABC456",
"event_time": 1734567890
}