Check Monitoring Status
curl --request GET \
--url https://api.linkupapi.com/v1/webhooks/accounts/{account_id}/status \
--header 'x-api-key: <x-api-key>'import requests
url = "https://api.linkupapi.com/v1/webhooks/accounts/{account_id}/status"
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/v1/webhooks/accounts/{account_id}/status', 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/v1/webhooks/accounts/{account_id}/status",
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/v1/webhooks/accounts/{account_id}/status"
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/v1/webhooks/accounts/{account_id}/status")
.header("x-api-key", "<x-api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.linkupapi.com/v1/webhooks/accounts/{account_id}/status")
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{
"account_id": "60f7b3b3e4b0c8a2d8e9f1a2",
"is_active": true,
"message": "Monitoring is active"
}
{
"account_id": "60f7b3b3e4b0c8a2d8e9f1a2",
"is_active": false,
"message": "Monitoring is stopped"
}
Webhook (Real Time)
Check Monitoring Status
Check the current monitoring status of a webhook account
GET
/
v1
/
webhooks
/
accounts
/
{account_id}
/
status
Check Monitoring Status
curl --request GET \
--url https://api.linkupapi.com/v1/webhooks/accounts/{account_id}/status \
--header 'x-api-key: <x-api-key>'import requests
url = "https://api.linkupapi.com/v1/webhooks/accounts/{account_id}/status"
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/v1/webhooks/accounts/{account_id}/status', 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/v1/webhooks/accounts/{account_id}/status",
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/v1/webhooks/accounts/{account_id}/status"
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/v1/webhooks/accounts/{account_id}/status")
.header("x-api-key", "<x-api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.linkupapi.com/v1/webhooks/accounts/{account_id}/status")
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{
"account_id": "60f7b3b3e4b0c8a2d8e9f1a2",
"is_active": true,
"message": "Monitoring is active"
}
{
"account_id": "60f7b3b3e4b0c8a2d8e9f1a2",
"is_active": false,
"message": "Monitoring is stopped"
}
Retrieve the current monitoring status for a registered LinkedIn or WhatsApp webhook account.
Header Parameters
string
required
Your API key
Path Parameters
string
required
The ID of the account to check
Response
string
The account ID being checked
boolean
Current monitoring status
string
Status description message
{
"account_id": "60f7b3b3e4b0c8a2d8e9f1a2",
"is_active": true,
"message": "Monitoring is active"
}
{
"account_id": "60f7b3b3e4b0c8a2d8e9f1a2",
"is_active": false,
"message": "Monitoring is stopped"
}
Notes
- Use this endpoint to verify if monitoring is currently active
is_active: truemeans webhooks are being sent in real-timeis_active: falsemeans no webhooks will be delivered
Was this page helpful?