Skip to main content
POST
/
watchlists
/
{watchListId}
/
triggers
/
{triggerId}
/
test
Test a trigger
curl --request POST \
  --url https://api.tic.io/watchlists/{watchListId}/triggers/{triggerId}/test \
  --header 'x-api-key: <api-key>'
import requests

url = "https://api.tic.io/watchlists/{watchListId}/triggers/{triggerId}/test"

headers = {"x-api-key": "<api-key>"}

response = requests.post(url, headers=headers)

print(response.text)
const options = {method: 'POST', headers: {'x-api-key': '<api-key>'}};

fetch('https://api.tic.io/watchlists/{watchListId}/triggers/{triggerId}/test', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://api.tic.io/watchlists/{watchListId}/triggers/{triggerId}/test",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://api.tic.io/watchlists/{watchListId}/triggers/{triggerId}/test"

req, _ := http.NewRequest("POST", url, nil)

req.Header.Add("x-api-key", "<api-key>")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.post("https://api.tic.io/watchlists/{watchListId}/triggers/{triggerId}/test")
.header("x-api-key", "<api-key>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.tic.io/watchlists/{watchListId}/triggers/{triggerId}/test")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'

response = http.request(request)
puts response.read_body
[
  {
    "teamWatchListMemberEventId": 123,
    "teamWatchListMemberId": 123,
    "teamWatchListId": 123,
    "externalId": "<string>",
    "companyId": 123,
    "personId": 123,
    "watchListMemberSubType": "<string>",
    "eventDate": "2023-11-07T05:31:56Z",
    "lastUpdatedAtUtc": "2023-11-07T05:31:56Z"
  }
]
You can use this endpoint to test your triggers (only webhoooks) and we will send a webhook to your endpoint.

Authorizations

x-api-key
string
header
required

Path Parameters

watchListId
integer<int32>
required

The watchlist id

triggerId
integer<int32>
required

The trigger id

Response

200 - application/json

OK

teamWatchListMemberEventId
integer<int32>
teamWatchListMemberId
integer<int32>
teamWatchListId
integer<int32>
externalId
string | null
companyId
integer<int32> | null
personId
integer<int32> | null
watchListMemberEventType
enum<string>
Available options:
companyAddress,
companyName,
companyStatus,
companyRegistration,
companyIntelligence,
companyBeneficialOwner,
companyDocument,
companyWorkplace,
companyPerson,
companyRegisteredOffice,
companyShareCapital,
companyPurpose,
companyDebtBalance,
companyOrderToPayCase,
companyFinancialDocument,
companyCase,
companyWorkplaceAddress,
unuseD_Company4,
unuseD_Company5,
unuseD_Company6,
unuseD_Company7,
unuseD_Company8,
unuseD_Company9,
unuseD_Company10,
personAddress,
personName,
personIntelligence,
personStatus,
personCompany,
unuseD_Person1,
unuseD_Person2,
unuseD_Person3,
unuseD_Person4,
unuseD_Person5,
unuseD_Person6,
unuseD_Person7,
unuseD_Person8,
unuseD_Person9,
unuseD_Person10,
propertyOwnershipChange,
propertyMortageDeedChange,
unuseD_Property1,
unuseD_Property2,
unuseD_Property3,
unuseD_Property4,
unuseD_Property5,
vehicleOwnerChange,
vehicleUserChange,
vehicleStatusChange,
vehicleInspection,
vehicleStolen,
unuseD_Vehicle1,
unuseD_Vehicle2,
unuseD_Vehicle3,
unuseD_Vehicle4,
unuseD_Vehicle5
watchListMemberSubType
string | null
eventDate
string<date-time>
lastUpdatedAtUtc
string<date-time>