Skip to main content
PUT
cURL

Authorizations

Authorization
string
header
required

API Key authentication for programmatic access. Include your API key in the Authorization header as: Bearer your_api_key_here

Path Parameters

agentId
string<uuid>
required

Unique identifier of the agent

triggerId
string<uuid>
required

Unique identifier of the trigger

Body

application/json
name
string
required
source
string
required
Allowed value: "slack"
description
string
allowedUserIds
string[]
allowedUsergroupIds
string[]
allowedChannelIds
string[]
replyScope
enum<string>

Who may reply in a Slack thread to continue this agent: anyone (any Slack user) or cotool_users (only mapped Cotool users with execute permission)

Available options:
anyone,
cotool_users
reactionEmojis
string[]

Slack emoji short names (no colons) that trigger this agent when added as a reaction to a message, e.g. ["rotating_light"]. Empty or absent means reactions do not trigger this agent.

Maximum array length: 20
Example:
createAlert
boolean

Response

Successful response

success
boolean
required
data
object
required