Subscribe to Agent Sessions

Changed on

Opt the authenticated agent installation into session events instead of legacy interaction webhooks.

put/api/v4/{workspace-slug}/agent-sessions/subscription

Request

  • Base URL: https://api.app.shortcut.com
  • URL: https://api.app.shortcut.com/api/v4/{workspace-slug}/agent-sessions/subscription
  • Auth: HTTP bearer

Path parameters

workspace-slugstring required

The slug for the Workspace.

Request body

enabledboolean required

Enable or disable session events for this installation.

Response

Resource

enabledboolean required
enabled_after_tinteger required
enabled_atstring date-time required
installation_idstring uuid required
workspace_idstring uuid required

Changes