Retrieve Call Events Registration
curl --request GET \
--url https://realtime.govworx.net/realtime/v1/call/webhooksimport requests
url = "https://realtime.govworx.net/realtime/v1/call/webhooks"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://realtime.govworx.net/realtime/v1/call/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://realtime.govworx.net/realtime/v1/call/webhooks",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://realtime.govworx.net/realtime/v1/call/webhooks"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://realtime.govworx.net/realtime/v1/call/webhooks")
.asString();require 'uri'
require 'net/http'
url = URI("https://realtime.govworx.net/realtime/v1/call/webhooks")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body[
{
"id": "<string>",
"tenantId": "<string>",
"url": "<string>",
"eventType": "<string>",
"active": true,
"deleted": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"hasAuthToken": true,
"agencies": [
{
"id": 123,
"name": "<string>",
"code": "<string>",
"type": "<string>"
}
]
}
][
{
"id": "<string>",
"tenantId": "<string>",
"url": "<string>",
"eventType": "<string>",
"active": true,
"deleted": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"hasAuthToken": true,
"agencies": [
{
"id": 123,
"name": "<string>",
"code": "<string>",
"type": "<string>"
}
]
}
][
{
"id": "<string>",
"tenantId": "<string>",
"url": "<string>",
"eventType": "<string>",
"active": true,
"deleted": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"hasAuthToken": true,
"agencies": [
{
"id": 123,
"name": "<string>",
"code": "<string>",
"type": "<string>"
}
]
}
][
{
"id": "<string>",
"tenantId": "<string>",
"url": "<string>",
"eventType": "<string>",
"active": true,
"deleted": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"hasAuthToken": true,
"agencies": [
{
"id": 123,
"name": "<string>",
"code": "<string>",
"type": "<string>"
}
]
}
][
{
"id": "<string>",
"tenantId": "<string>",
"url": "<string>",
"eventType": "<string>",
"active": true,
"deleted": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"hasAuthToken": true,
"agencies": [
{
"id": 123,
"name": "<string>",
"code": "<string>",
"type": "<string>"
}
]
}
]Realtime Calls
Retrieve Call Events Registration
Retrieve a list of webhook registered to receive notifications about call status events.
GET
/
realtime
/
v1
/
call
/
webhooks
Retrieve Call Events Registration
curl --request GET \
--url https://realtime.govworx.net/realtime/v1/call/webhooksimport requests
url = "https://realtime.govworx.net/realtime/v1/call/webhooks"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://realtime.govworx.net/realtime/v1/call/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://realtime.govworx.net/realtime/v1/call/webhooks",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://realtime.govworx.net/realtime/v1/call/webhooks"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://realtime.govworx.net/realtime/v1/call/webhooks")
.asString();require 'uri'
require 'net/http'
url = URI("https://realtime.govworx.net/realtime/v1/call/webhooks")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body[
{
"id": "<string>",
"tenantId": "<string>",
"url": "<string>",
"eventType": "<string>",
"active": true,
"deleted": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"hasAuthToken": true,
"agencies": [
{
"id": 123,
"name": "<string>",
"code": "<string>",
"type": "<string>"
}
]
}
][
{
"id": "<string>",
"tenantId": "<string>",
"url": "<string>",
"eventType": "<string>",
"active": true,
"deleted": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"hasAuthToken": true,
"agencies": [
{
"id": 123,
"name": "<string>",
"code": "<string>",
"type": "<string>"
}
]
}
][
{
"id": "<string>",
"tenantId": "<string>",
"url": "<string>",
"eventType": "<string>",
"active": true,
"deleted": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"hasAuthToken": true,
"agencies": [
{
"id": 123,
"name": "<string>",
"code": "<string>",
"type": "<string>"
}
]
}
][
{
"id": "<string>",
"tenantId": "<string>",
"url": "<string>",
"eventType": "<string>",
"active": true,
"deleted": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"hasAuthToken": true,
"agencies": [
{
"id": 123,
"name": "<string>",
"code": "<string>",
"type": "<string>"
}
]
}
][
{
"id": "<string>",
"tenantId": "<string>",
"url": "<string>",
"eventType": "<string>",
"active": true,
"deleted": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"hasAuthToken": true,
"agencies": [
{
"id": 123,
"name": "<string>",
"code": "<string>",
"type": "<string>"
}
]
}
]Response
Webhook list retrieved successfully
Unique identifier for this webhook registration
Tenant identifier linked to this webhook registration
URL that will receive webhook payloads
Event types this webhook is registered for
Whether this webhook is currently active
Whether this webhook is currently deleted
When this webhook was registered
When this webhook was last updated
Whether an auth token is configured (token value is never returned)
Which agencies are in the scope, if empty webhook is tenant-wide
Show child attributes
Show child attributes
⌘I

