Skip to main content
PATCH
/
api
/
agents
/
{agent_uid}
/
notifications
Update notification config
curl --request PATCH \
  --url https://api.example.com/api/agents/{agent_uid}/notifications \
  --header 'Content-Type: application/json' \
  --data '
{
  "notification_config": {}
}
'
Updates the Slack notification configuration for an agent. Send null to clear all notification settings.

Path parameters

agent_uid
string
required
UUID of the agent.

Request body

notification_config
object
required
Notification configuration object, or null to clear.
slack_channel_id
string
required
Slack channel ID. The Exante bot must be a member of this channel.
events
object
Toggle individual event notifications. All default to true except digest.

Setting notifications

{
  "notification_config": {
    "slack_channel_id": "C0123456789",
    "events": {
      "action_taken": true,
      "approval_required": true,
      "outcome": true,
      "error": true,
      "digest": false
    }
  }
}

Clearing notifications

{
  "notification_config": null
}

Response

{
  "status": "success",
  "status_code": 200,
  "message": "Notification config updated",
  "data": {
    "notification_config": {
      "slack_channel_id": "C0123456789",
      "events": {
        "action_taken": true,
        "approval_required": true,
        "outcome": true,
        "error": true,
        "digest": false
      }
    }
  }
}
The Exante bot must be a member of the target Slack channel. If the bot is not in the channel, the API returns a 422 validation error. Invite the bot with /invite @Exante in Slack.