cURL
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" }
Updates an existing trigger
The watchlist id
The trigger id
The payload
1
webhook
email
sms
OK