Start Webhook Monitoring
curl --request POST \
--url https://api.linkupapi.com/v1/webhooks/accounts/{account_id}/start \
--header 'x-api-key: <x-api-key>'import requests
url = "https://api.linkupapi.com/v1/webhooks/accounts/{account_id}/start"
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}/start', 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}/start",
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}/start"
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}/start")
.header("x-api-key", "<x-api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.linkupapi.com/v1/webhooks/accounts/{account_id}/start")
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": true,
"message": "Monitoring started successfully"
}
Webhook (Real Time)
Start Webhook Monitoring
Start real-time monitoring for a LinkedIn account
POST
/
v1
/
webhooks
/
accounts
/
{account_id}
/
start
Start Webhook Monitoring
curl --request POST \
--url https://api.linkupapi.com/v1/webhooks/accounts/{account_id}/start \
--header 'x-api-key: <x-api-key>'import requests
url = "https://api.linkupapi.com/v1/webhooks/accounts/{account_id}/start"
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}/start', 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}/start",
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}/start"
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}/start")
.header("x-api-key", "<x-api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.linkupapi.com/v1/webhooks/accounts/{account_id}/start")
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": true,
"message": "Monitoring started successfully"
}
Begin real-time monitoring for a registered LinkedIn account to receive webhook notifications.
LinkedIn Only: This endpoint only works for LinkedIn accounts. WhatsApp monitoring starts automatically after QR authentication.
Credit Usage: Starting monitoring will consume 10 credits per day (1 credit every 144 minutes) for this account.
Header Parameters
string
required
Your API key
Path Parameters
string
required
The ID of the account to start monitoring
Response
string
The account ID that was activated
boolean
Monitoring status (true when started)
string
Success confirmation message
{
"account_id": "60f7b3b3e4b0c8a2d8e9f1a2",
"is_active": true,
"message": "Monitoring started successfully"
}
Notes
- Starting monitoring establishes a persistent connection to LinkedIn
- Webhooks will be sent to the configured webhook URL in real-time
- The system automatically handles reconnections if the connection drops
- Each account maintains its own monitoring process
- Credit consumption begins immediately when monitoring starts
- Stopping and restarting monitoring will not affect daily credit usage
Was this page helpful?