Skip to main content

agent_session_title_changed event

A user changed the title of an agent session

Facts

Required Scopes
Compatible APIs

Usage info

Slack sends the agent_session_title_changed event when a user changes the title of an agent session, even if the agent previously set that title. If your agent keeps sessions in sync between Slack and your own UI, reflect the user's title change accordingly.

The payload includes both the previous_title and the new title.

{
"channel": "C0123ABC456",
"event_ts": "1783536983.783769",
"previous_title": "Scuba diving research",
"team_id": "T0123ABC456",
"thread_ts": "1782234671.392669",
"title": "Bora Bora trip prep",
"type": "agent_session_title_changed",
"user": "U123ABC456"
}

To set a session's title from your app, use agents.sessions.rename.