curl --request POST \
--url https://api.trytikt.com/v1/webhook-endpoints \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"url": "<string>",
"tool": "webhook",
"all_events": false,
"events": [],
"format": "single",
"headers": {},
"send_past": "none"
}
'import requests
url = "https://api.trytikt.com/v1/webhook-endpoints"
payload = {
"name": "<string>",
"url": "<string>",
"tool": "webhook",
"all_events": False,
"events": [],
"format": "single",
"headers": {},
"send_past": "none"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
url: '<string>',
tool: 'webhook',
all_events: false,
events: [],
format: 'single',
headers: {},
send_past: 'none'
})
};
fetch('https://api.trytikt.com/v1/webhook-endpoints', 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.trytikt.com/v1/webhook-endpoints",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'url' => '<string>',
'tool' => 'webhook',
'all_events' => false,
'events' => [
],
'format' => 'single',
'headers' => [
],
'send_past' => 'none'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.trytikt.com/v1/webhook-endpoints"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"url\": \"<string>\",\n \"tool\": \"webhook\",\n \"all_events\": false,\n \"events\": [],\n \"format\": \"single\",\n \"headers\": {},\n \"send_past\": \"none\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
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.trytikt.com/v1/webhook-endpoints")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"url\": \"<string>\",\n \"tool\": \"webhook\",\n \"all_events\": false,\n \"events\": [],\n \"format\": \"single\",\n \"headers\": {},\n \"send_past\": \"none\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.trytikt.com/v1/webhook-endpoints")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"url\": \"<string>\",\n \"tool\": \"webhook\",\n \"all_events\": false,\n \"events\": [],\n \"format\": \"single\",\n \"headers\": {},\n \"send_past\": \"none\"\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"name": "<string>",
"tool": "<string>",
"url": "<string>",
"all_events": true,
"events": [
"<string>"
],
"format": "<string>",
"status": "<string>",
"disabled_reason": "<string>",
"disabled_at": "<string>",
"api_version": "<string>",
"created_at": "<string>",
"used_by_workflows": 123,
"signing_secret": "<string>",
"slack": {
"channel": "<string>",
"team": "<string>"
},
"last_response_status": 123
}{
"error": {
"code": "parametre_inconnu",
"message": "<string>",
"status": 123,
"request_id": "<string>",
"details": {}
}
}{
"error": {
"code": "parametre_inconnu",
"message": "<string>",
"status": 123,
"request_id": "<string>",
"details": {}
}
}{
"error": {
"code": "parametre_inconnu",
"message": "<string>",
"status": 123,
"request_id": "<string>",
"details": {}
}
}{
"error": {
"code": "parametre_inconnu",
"message": "<string>",
"status": 123,
"request_id": "<string>",
"details": {}
}
}{
"error": {
"code": "parametre_inconnu",
"message": "<string>",
"status": 123,
"request_id": "<string>",
"details": {}
}
}{
"error": {
"code": "parametre_inconnu",
"message": "<string>",
"status": 123,
"request_id": "<string>",
"details": {}
}
}{
"error": {
"code": "parametre_inconnu",
"message": "<string>",
"status": 123,
"request_id": "<string>",
"details": {}
}
}{
"error": {
"code": "parametre_inconnu",
"message": "<string>",
"status": 123,
"request_id": "<string>",
"details": {}
}
}{
"error": {
"code": "parametre_inconnu",
"message": "<string>",
"status": 123,
"request_id": "<string>",
"details": {}
}
}{
"error": {
"code": "parametre_inconnu",
"message": "<string>",
"status": 123,
"request_id": "<string>",
"details": {}
}
}Create a destination
Create a webhook destination. The answer carries its signing secret, shown this once. Slack is connected in the console, not here. Requires a Read and write key.
curl --request POST \
--url https://api.trytikt.com/v1/webhook-endpoints \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"url": "<string>",
"tool": "webhook",
"all_events": false,
"events": [],
"format": "single",
"headers": {},
"send_past": "none"
}
'import requests
url = "https://api.trytikt.com/v1/webhook-endpoints"
payload = {
"name": "<string>",
"url": "<string>",
"tool": "webhook",
"all_events": False,
"events": [],
"format": "single",
"headers": {},
"send_past": "none"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
url: '<string>',
tool: 'webhook',
all_events: false,
events: [],
format: 'single',
headers: {},
send_past: 'none'
})
};
fetch('https://api.trytikt.com/v1/webhook-endpoints', 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.trytikt.com/v1/webhook-endpoints",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'url' => '<string>',
'tool' => 'webhook',
'all_events' => false,
'events' => [
],
'format' => 'single',
'headers' => [
],
'send_past' => 'none'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.trytikt.com/v1/webhook-endpoints"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"url\": \"<string>\",\n \"tool\": \"webhook\",\n \"all_events\": false,\n \"events\": [],\n \"format\": \"single\",\n \"headers\": {},\n \"send_past\": \"none\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
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.trytikt.com/v1/webhook-endpoints")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"url\": \"<string>\",\n \"tool\": \"webhook\",\n \"all_events\": false,\n \"events\": [],\n \"format\": \"single\",\n \"headers\": {},\n \"send_past\": \"none\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.trytikt.com/v1/webhook-endpoints")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"url\": \"<string>\",\n \"tool\": \"webhook\",\n \"all_events\": false,\n \"events\": [],\n \"format\": \"single\",\n \"headers\": {},\n \"send_past\": \"none\"\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"name": "<string>",
"tool": "<string>",
"url": "<string>",
"all_events": true,
"events": [
"<string>"
],
"format": "<string>",
"status": "<string>",
"disabled_reason": "<string>",
"disabled_at": "<string>",
"api_version": "<string>",
"created_at": "<string>",
"used_by_workflows": 123,
"signing_secret": "<string>",
"slack": {
"channel": "<string>",
"team": "<string>"
},
"last_response_status": 123
}{
"error": {
"code": "parametre_inconnu",
"message": "<string>",
"status": 123,
"request_id": "<string>",
"details": {}
}
}{
"error": {
"code": "parametre_inconnu",
"message": "<string>",
"status": 123,
"request_id": "<string>",
"details": {}
}
}{
"error": {
"code": "parametre_inconnu",
"message": "<string>",
"status": 123,
"request_id": "<string>",
"details": {}
}
}{
"error": {
"code": "parametre_inconnu",
"message": "<string>",
"status": 123,
"request_id": "<string>",
"details": {}
}
}{
"error": {
"code": "parametre_inconnu",
"message": "<string>",
"status": 123,
"request_id": "<string>",
"details": {}
}
}{
"error": {
"code": "parametre_inconnu",
"message": "<string>",
"status": 123,
"request_id": "<string>",
"details": {}
}
}{
"error": {
"code": "parametre_inconnu",
"message": "<string>",
"status": 123,
"request_id": "<string>",
"details": {}
}
}{
"error": {
"code": "parametre_inconnu",
"message": "<string>",
"status": 123,
"request_id": "<string>",
"details": {}
}
}{
"error": {
"code": "parametre_inconnu",
"message": "<string>",
"status": 123,
"request_id": "<string>",
"details": {}
}
}{
"error": {
"code": "parametre_inconnu",
"message": "<string>",
"status": 123,
"request_id": "<string>",
"details": {}
}
}Authorizations
Your API key, created in Settings › API: Authorization: Bearer tikt_live_….
Body
The destination's name, 1 to 80 characters.
1 - 80The https:// address TIKT sends events to. Public addresses only.
1 - 2048The tool behind the address — webhook (the default), n8n, make, zapier or clay. Sets the defaults; every tool receives the same signed request.
webhook, n8n, make, zapier, clay true to receive every event, including types added later. false by default.
The event types to receive, when all_events is false. Empty: the destination only serves workflows.
32lead.created, lead.rescored, lead.engaged_again, lead.status_changed, list.lead_added, list.lead_removed, list.created, list.renamed, list.deleted, post.discovered, post.harvested, post.harvest_paused, post.harvest_resumed, post.closed, kol.added, kol.ready, kol.updated, kol.paused, kol.resumed, kol.archived, kol.restored, kol.followers_recorded, icp.updated, blocklist.company_added, blocklist.company_removed, credits.low, credits.exhausted, billing.period_closed, workspace.updated, cycle.completed, cycle.failed, webhook.endpoint_disabled single (one request per event, the default) or batch (up to 100 events per request).
single, batch Up to three headers of your own, {"name": "value"}, sent with every request. Given on an update, they replace the current ones.
Show child attributes
Show child attributes
Past events to send right away: none (the default), 24h, 7d or 31d.
none, 24h, 7d, 31d Response
Created.
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\dZ$^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\dZ$Show child attributes
Show child attributes
