Skip to main content
PATCH
Update a trigger

Authorizations

Authorization
string
header
required

An API key from your Devic console, sent as Authorization: Bearer <key>. An embedded front end sends a tenant-session token instead, so no API key reaches the browser, and an OAuth integration sends its access token. Missing, invalid or expired credentials get a 401. See Authentication.

Path Parameters

id
string
required

Trigger id

Body

application/json
name
string
messageTemplate
string
chatUidTemplate
string
newThreadsState
enum<string>
Available options:
queued,
paused
rateLimitPerMinute
number
triggerConfig
object
enabled
boolean

Enable or disable the trigger

Response

Success