List Webhooks
curl --request GET \
--url https://api.linkupapi.com/v2/webhooks \
--header 'x-api-key: <x-api-key>'import requests
url = "https://api.linkupapi.com/v2/webhooks"
headers = {"x-api-key": "<x-api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<x-api-key>'}};
fetch('https://api.linkupapi.com/v2/webhooks', 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.linkupapi.com/v2/webhooks",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <x-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.linkupapi.com/v2/webhooks"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<x-api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.linkupapi.com/v2/webhooks")
.header("x-api-key", "<x-api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.linkupapi.com/v2/webhooks")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<x-api-key>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"items": [
{
"webhook_id": "6789abcdef0123456789abcd",
"account_id": "69c127c37cae0494dd827286",
"platform": "linkedin",
"url": "https://your-server.com/webhook",
"events": ["all"],
"is_active": true,
"created_at": "2025-01-15T10:30:00.000000",
"updated_at": "2025-01-15T10:30:00.000000"
}
],
"total": 1,
"limit": 1,
"offset": 0
},
"metadata": {
"action": "list_webhooks",
"credits_consumed": 0,
"timestamp": "2025-01-15T10:30:00.000000"
}
}
Webhooks (Real-Time)
List Webhooks
List all webhooks for your account
GET
/
v2
/
webhooks
List Webhooks
curl --request GET \
--url https://api.linkupapi.com/v2/webhooks \
--header 'x-api-key: <x-api-key>'import requests
url = "https://api.linkupapi.com/v2/webhooks"
headers = {"x-api-key": "<x-api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<x-api-key>'}};
fetch('https://api.linkupapi.com/v2/webhooks', 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.linkupapi.com/v2/webhooks",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <x-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.linkupapi.com/v2/webhooks"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<x-api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.linkupapi.com/v2/webhooks")
.header("x-api-key", "<x-api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.linkupapi.com/v2/webhooks")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<x-api-key>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"items": [
{
"webhook_id": "6789abcdef0123456789abcd",
"account_id": "69c127c37cae0494dd827286",
"platform": "linkedin",
"url": "https://your-server.com/webhook",
"events": ["all"],
"is_active": true,
"created_at": "2025-01-15T10:30:00.000000",
"updated_at": "2025-01-15T10:30:00.000000"
}
],
"total": 1,
"limit": 1,
"offset": 0
},
"metadata": {
"action": "list_webhooks",
"credits_consumed": 0,
"timestamp": "2025-01-15T10:30:00.000000"
}
}
Retrieve all webhook configurations associated with your API key.
Header Parameters
string
required
Your API key
Response
boolean
Whether the request was successful
object
Show Properties
Show Properties
array
List of webhook objects
Show Webhook Object
Show Webhook Object
string
Unique identifier for the webhook
string
The account this webhook is attached to
string
Platform of the associated account (e.g.
linkedin, whatsapp)string
The webhook URL
boolean
Whether failed POSTs are retried with backoff (custom mode only)
string
Delivery log endpoint (custom mode only)
string
Stored-events polling endpoint (both modes)
array
Event types this webhook listens for
boolean
Whether the webhook is active
string
ISO 8601 creation timestamp
string
ISO 8601 last update timestamp
integer
Total number of webhooks
{
"success": true,
"data": {
"items": [
{
"webhook_id": "6789abcdef0123456789abcd",
"account_id": "69c127c37cae0494dd827286",
"platform": "linkedin",
"url": "https://your-server.com/webhook",
"events": ["all"],
"is_active": true,
"created_at": "2025-01-15T10:30:00.000000",
"updated_at": "2025-01-15T10:30:00.000000"
}
],
"total": 1,
"limit": 1,
"offset": 0
},
"metadata": {
"action": "list_webhooks",
"credits_consumed": 0,
"timestamp": "2025-01-15T10:30:00.000000"
}
}
Was this page helpful?