PUT
/
watchlists
/
{watchListId}
/
triggers
/
{triggerId}
curl --request PUT \
  --url https://api.tic.io/watchlists/{watchListId}/triggers/{triggerId} \
  --header 'Content-Type: application/json-patch+json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "destination": "<string>",
  "destinationType": "webhook"
}'
{
  "teamWatchListTriggerId": 123,
  "destination": "<string>",
  "destinationType": "webhook",
  "hasBeenValidated": true,
  "lastMessageSentAtUtc": "2023-11-07T05:31:56Z",
  "lastUpdatedAtUtc": "2023-11-07T05:31:56Z"
}

Authorizations

x-api-key
string
header
required

Path Parameters

watchListId
integer
required

The watchlist id

triggerId
integer
required

The trigger id

Body

The payload
destination
string
required
Minimum length: 1
destinationType
enum<string>
Available options:
webhook,
email,
sms

Response

200
application/json
OK
teamWatchListTriggerId
integer
destination
string | null
destinationType
enum<string>
Available options:
webhook,
email,
sms
hasBeenValidated
boolean
lastMessageSentAtUtc
string | null
lastUpdatedAtUtc
string | null