Skip to main content
POST
/
watchlists
/
{id}
/
notifications
Create a notification trigger
curl --request POST \
  --url https://lens-api.tic.io/watchlists/{id}/notifications \
  --header 'Content-Type: application/json-patch+json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "destination": "<string>",
  "destinationType": "webhook"
}
'
{
  "notificationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "destination": "<string>",
  "destinationType": "webhook",
  "destinationTypeDescription": "<string>",
  "hasBeenValidated": true,
  "lastUpdatedAtUtc": "2023-11-07T05:31:56Z"
}
Pro+ tier

Authorizations

x-api-key
string
header
required

Path Parameters

id
string<uuid>
required

Watchlist GUID

Body

destination
null | string
destinationType
enum<string>
Available options:
webhook,
email,
sms

Response

Notification trigger created

notificationId
string<uuid>
destination
null | string
destinationType
enum<string>
Available options:
webhook,
email,
sms
destinationTypeDescription
null | string
hasBeenValidated
boolean
lastUpdatedAtUtc
string<date-time>