Get Call
curl --request GET \
--url https://realtime.govworx.net/realtime/v1/call/{id}import requests
url = "https://realtime.govworx.net/realtime/v1/call/{id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://realtime.govworx.net/realtime/v1/call/{id}', 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/{id}",
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/{id}"
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/{id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://realtime.govworx.net/realtime/v1/call/{id}")
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>",
"call_sid": "<string>",
"call_status": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"started_at": "2023-11-07T05:31:56Z",
"summary": null,
"call_socket": {
"token": {
"token": "<string>",
"expires": 123,
"issued": 123,
"capability": "<string>",
"clientId": "<string>"
},
"channel": "<string>",
"updates_channel_host": "<string>",
"encryption_key": "<string>"
},
"call_details_record": {
"ani_number": "<string>",
"call_duration_ms": 123,
"call_started_at": "2023-11-07T05:31:56Z",
"call_answered_at": "2023-11-07T05:31:56Z",
"call_ended_at": "2023-11-07T05:31:56Z"
},
"call_locations": [
{
"latitude": 123,
"longitude": 123,
"accuracy": 123,
"city": "<string>",
"state": "<string>",
"streetAddress": "<string>",
"country": "<string>",
"source": "<string>",
"createdAt": "2023-11-07T05:31:56Z"
}
],
"viewers": [
{
"userId": 123,
"firstName": "<string>",
"lastName": "<string>"
}
],
"agencies": [
{
"id": 123,
"name": "<string>",
"code": "<string>",
"type": "<string>"
}
]
}{
"id": "<string>",
"call_sid": "<string>",
"call_status": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"started_at": "2023-11-07T05:31:56Z",
"summary": null,
"call_socket": {
"token": {
"token": "<string>",
"expires": 123,
"issued": 123,
"capability": "<string>",
"clientId": "<string>"
},
"channel": "<string>",
"updates_channel_host": "<string>",
"encryption_key": "<string>"
},
"call_details_record": {
"ani_number": "<string>",
"call_duration_ms": 123,
"call_started_at": "2023-11-07T05:31:56Z",
"call_answered_at": "2023-11-07T05:31:56Z",
"call_ended_at": "2023-11-07T05:31:56Z"
},
"call_locations": [
{
"latitude": 123,
"longitude": 123,
"accuracy": 123,
"city": "<string>",
"state": "<string>",
"streetAddress": "<string>",
"country": "<string>",
"source": "<string>",
"createdAt": "2023-11-07T05:31:56Z"
}
],
"viewers": [
{
"userId": 123,
"firstName": "<string>",
"lastName": "<string>"
}
],
"agencies": [
{
"id": 123,
"name": "<string>",
"code": "<string>",
"type": "<string>"
}
]
}{
"id": "<string>",
"call_sid": "<string>",
"call_status": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"started_at": "2023-11-07T05:31:56Z",
"summary": null,
"call_socket": {
"token": {
"token": "<string>",
"expires": 123,
"issued": 123,
"capability": "<string>",
"clientId": "<string>"
},
"channel": "<string>",
"updates_channel_host": "<string>",
"encryption_key": "<string>"
},
"call_details_record": {
"ani_number": "<string>",
"call_duration_ms": 123,
"call_started_at": "2023-11-07T05:31:56Z",
"call_answered_at": "2023-11-07T05:31:56Z",
"call_ended_at": "2023-11-07T05:31:56Z"
},
"call_locations": [
{
"latitude": 123,
"longitude": 123,
"accuracy": 123,
"city": "<string>",
"state": "<string>",
"streetAddress": "<string>",
"country": "<string>",
"source": "<string>",
"createdAt": "2023-11-07T05:31:56Z"
}
],
"viewers": [
{
"userId": 123,
"firstName": "<string>",
"lastName": "<string>"
}
],
"agencies": [
{
"id": 123,
"name": "<string>",
"code": "<string>",
"type": "<string>"
}
]
}{
"id": "<string>",
"call_sid": "<string>",
"call_status": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"started_at": "2023-11-07T05:31:56Z",
"summary": null,
"call_socket": {
"token": {
"token": "<string>",
"expires": 123,
"issued": 123,
"capability": "<string>",
"clientId": "<string>"
},
"channel": "<string>",
"updates_channel_host": "<string>",
"encryption_key": "<string>"
},
"call_details_record": {
"ani_number": "<string>",
"call_duration_ms": 123,
"call_started_at": "2023-11-07T05:31:56Z",
"call_answered_at": "2023-11-07T05:31:56Z",
"call_ended_at": "2023-11-07T05:31:56Z"
},
"call_locations": [
{
"latitude": 123,
"longitude": 123,
"accuracy": 123,
"city": "<string>",
"state": "<string>",
"streetAddress": "<string>",
"country": "<string>",
"source": "<string>",
"createdAt": "2023-11-07T05:31:56Z"
}
],
"viewers": [
{
"userId": 123,
"firstName": "<string>",
"lastName": "<string>"
}
],
"agencies": [
{
"id": 123,
"name": "<string>",
"code": "<string>",
"type": "<string>"
}
]
}Realtime Calls
Get Call
Get the current state of a call
GET
/
realtime
/
v1
/
call
/
{id}
Get Call
curl --request GET \
--url https://realtime.govworx.net/realtime/v1/call/{id}import requests
url = "https://realtime.govworx.net/realtime/v1/call/{id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://realtime.govworx.net/realtime/v1/call/{id}', 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/{id}",
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/{id}"
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/{id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://realtime.govworx.net/realtime/v1/call/{id}")
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>",
"call_sid": "<string>",
"call_status": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"started_at": "2023-11-07T05:31:56Z",
"summary": null,
"call_socket": {
"token": {
"token": "<string>",
"expires": 123,
"issued": 123,
"capability": "<string>",
"clientId": "<string>"
},
"channel": "<string>",
"updates_channel_host": "<string>",
"encryption_key": "<string>"
},
"call_details_record": {
"ani_number": "<string>",
"call_duration_ms": 123,
"call_started_at": "2023-11-07T05:31:56Z",
"call_answered_at": "2023-11-07T05:31:56Z",
"call_ended_at": "2023-11-07T05:31:56Z"
},
"call_locations": [
{
"latitude": 123,
"longitude": 123,
"accuracy": 123,
"city": "<string>",
"state": "<string>",
"streetAddress": "<string>",
"country": "<string>",
"source": "<string>",
"createdAt": "2023-11-07T05:31:56Z"
}
],
"viewers": [
{
"userId": 123,
"firstName": "<string>",
"lastName": "<string>"
}
],
"agencies": [
{
"id": 123,
"name": "<string>",
"code": "<string>",
"type": "<string>"
}
]
}{
"id": "<string>",
"call_sid": "<string>",
"call_status": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"started_at": "2023-11-07T05:31:56Z",
"summary": null,
"call_socket": {
"token": {
"token": "<string>",
"expires": 123,
"issued": 123,
"capability": "<string>",
"clientId": "<string>"
},
"channel": "<string>",
"updates_channel_host": "<string>",
"encryption_key": "<string>"
},
"call_details_record": {
"ani_number": "<string>",
"call_duration_ms": 123,
"call_started_at": "2023-11-07T05:31:56Z",
"call_answered_at": "2023-11-07T05:31:56Z",
"call_ended_at": "2023-11-07T05:31:56Z"
},
"call_locations": [
{
"latitude": 123,
"longitude": 123,
"accuracy": 123,
"city": "<string>",
"state": "<string>",
"streetAddress": "<string>",
"country": "<string>",
"source": "<string>",
"createdAt": "2023-11-07T05:31:56Z"
}
],
"viewers": [
{
"userId": 123,
"firstName": "<string>",
"lastName": "<string>"
}
],
"agencies": [
{
"id": 123,
"name": "<string>",
"code": "<string>",
"type": "<string>"
}
]
}{
"id": "<string>",
"call_sid": "<string>",
"call_status": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"started_at": "2023-11-07T05:31:56Z",
"summary": null,
"call_socket": {
"token": {
"token": "<string>",
"expires": 123,
"issued": 123,
"capability": "<string>",
"clientId": "<string>"
},
"channel": "<string>",
"updates_channel_host": "<string>",
"encryption_key": "<string>"
},
"call_details_record": {
"ani_number": "<string>",
"call_duration_ms": 123,
"call_started_at": "2023-11-07T05:31:56Z",
"call_answered_at": "2023-11-07T05:31:56Z",
"call_ended_at": "2023-11-07T05:31:56Z"
},
"call_locations": [
{
"latitude": 123,
"longitude": 123,
"accuracy": 123,
"city": "<string>",
"state": "<string>",
"streetAddress": "<string>",
"country": "<string>",
"source": "<string>",
"createdAt": "2023-11-07T05:31:56Z"
}
],
"viewers": [
{
"userId": 123,
"firstName": "<string>",
"lastName": "<string>"
}
],
"agencies": [
{
"id": 123,
"name": "<string>",
"code": "<string>",
"type": "<string>"
}
]
}{
"id": "<string>",
"call_sid": "<string>",
"call_status": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"started_at": "2023-11-07T05:31:56Z",
"summary": null,
"call_socket": {
"token": {
"token": "<string>",
"expires": 123,
"issued": 123,
"capability": "<string>",
"clientId": "<string>"
},
"channel": "<string>",
"updates_channel_host": "<string>",
"encryption_key": "<string>"
},
"call_details_record": {
"ani_number": "<string>",
"call_duration_ms": 123,
"call_started_at": "2023-11-07T05:31:56Z",
"call_answered_at": "2023-11-07T05:31:56Z",
"call_ended_at": "2023-11-07T05:31:56Z"
},
"call_locations": [
{
"latitude": 123,
"longitude": 123,
"accuracy": 123,
"city": "<string>",
"state": "<string>",
"streetAddress": "<string>",
"country": "<string>",
"source": "<string>",
"createdAt": "2023-11-07T05:31:56Z"
}
],
"viewers": [
{
"userId": 123,
"firstName": "<string>",
"lastName": "<string>"
}
],
"agencies": [
{
"id": 123,
"name": "<string>",
"code": "<string>",
"type": "<string>"
}
]
}Path Parameters
Query Parameters
Include call summary in the response
Include call notification socket details in the response. For active calls, returns channel details for live transcript updates. For ended calls with on-demand transcription, returns channel details to receive a notification when transcription completes.
Response
Returns data for the specified call
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
⌘I

