Skip to main content
Version: /v2

Fetch All Webhooks - API

Retrieve a paginated list of all webhooks registered by the authenticated user. Supports filtering by webhookId and searching by url.

HTTP method and endpoint

GET

|

https://api.videosdk.live/v2/sip/webhooks
Headers Parameters

values : YOUR_TOKEN_WITHOUT_ANY_PREFIX

This will be a JWT token generate using VideoSDK ApiKey and Secret.

Note that the token will not include any prefix such as "Basic " or "Bearer ". Just pass a token as value.

You can generate a new token by refering this Guide: Generate Auth token

Query Parameters
OPTIONAL
Page number for pagination (default: 1).
OPTIONAL
Number of items per page (default: 10).
Parameters
OPTIONAL
Optional. Specific webhook ID to filter by.
Response Parameters
Pagination metadata (currentPage, perPage, lastPage, total).
Array of webhook objects.
GET
|
https://api.videosdk.live/v2/sip/webhooks
import fetch from 'node-fetch';
const options = {
method: "GET",
headers: {
"Authorization": "$YOUR_TOKEN",
},
};
const url= `https://api.videosdk.live/v2/sip/webhooks?search=example.com&page=1&perPage=10`;
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
RESPONSE
{
"pageInfo": {
"currentPage": 1,
"perPage": 10,
"lastPage": 1,
"total": 2
},
"data": [
{
"id": "wh_123456789",
"url": "https://example.com/webhook1",
"events": [
"call-started",
"call-answered"
],
"createdAt": "2025-08-21T12:00:00.000Z",
"updatedAt": "2025-08-21T12:10:00.000Z"
},
{
"id": "wh_987654321",
"url": "https://example.com/webhook2",
"events": [
"call-hangup",
"call-missed"
],
"createdAt": "2025-08-20T15:00:00.000Z",
"updatedAt": "2025-08-20T16:00:00.000Z"
}
]
}

Got a Question? Ask us on discord