Stop Webhook Monitoring
curl --request POST \
--url https://api.linkupapi.com/v1/webhooks/accounts/{account_id}/stop \
--header 'x-api-key: <x-api-key>'import requests
url = "https://api.linkupapi.com/v1/webhooks/accounts/{account_id}/stop"
headers = {"x-api-key": "<x-api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'x-api-key': '<x-api-key>'}};
fetch('https://api.linkupapi.com/v1/webhooks/accounts/{account_id}/stop', 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}/stop",
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: <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}/stop"
req, _ := http.NewRequest("POST", 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.post("https://api.linkupapi.com/v1/webhooks/accounts/{account_id}/stop")
.header("x-api-key", "<x-api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.linkupapi.com/v1/webhooks/accounts/{account_id}/stop")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<x-api-key>'
response = http.request(request)
puts response.read_body{
"account_id": "60f7b3b3e4b0c8a2d8e9f1a2",
"is_active": false,
"message": "Monitoring stopped successfully"
}
Webhook (Real Time)
Stop Webhook Monitoring
Stop real-time monitoring for a LinkedIn account
POST
/
v1
/
webhooks
/
accounts
/
{account_id}
/
stop
Stop Webhook Monitoring
curl --request POST \
--url https://api.linkupapi.com/v1/webhooks/accounts/{account_id}/stop \
--header 'x-api-key: <x-api-key>'import requests
url = "https://api.linkupapi.com/v1/webhooks/accounts/{account_id}/stop"
headers = {"x-api-key": "<x-api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'x-api-key': '<x-api-key>'}};
fetch('https://api.linkupapi.com/v1/webhooks/accounts/{account_id}/stop', 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}/stop",
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: <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}/stop"
req, _ := http.NewRequest("POST", 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.post("https://api.linkupapi.com/v1/webhooks/accounts/{account_id}/stop")
.header("x-api-key", "<x-api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.linkupapi.com/v1/webhooks/accounts/{account_id}/stop")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<x-api-key>'
response = http.request(request)
puts response.read_body{
"account_id": "60f7b3b3e4b0c8a2d8e9f1a2",
"is_active": false,
"message": "Monitoring stopped successfully"
}
Stop real-time monitoring for a LinkedIn account to cease webhook notifications.
LinkedIn Only: This endpoint only works for LinkedIn accounts. To stop WhatsApp monitoring, delete the account entirely.
Header Parameters
string
required
Your API key
Path Parameters
string
required
The ID of the account to stop monitoring
Response
string
The account ID that was deactivated
boolean
Monitoring status (false when stopped)
string
Success confirmation message
{
"account_id": "60f7b3b3e4b0c8a2d8e9f1a2",
"is_active": false,
"message": "Monitoring stopped successfully"
}
Notes
- Stopping monitoring immediately disconnects from LinkedIn and stops all webhook delivery
- The account configuration remains saved and can be restarted later
- No webhooks will be sent while monitoring is stopped
- Credit consumption continues for the full day even after stopping monitoring
Was this page helpful?