Live Updates
List Live Updates
Get all live updates for the authenticated user’s team. Supports filtering and pagination for efficient data retrieval.
GET
/
live-updates
List Live Updates
curl --request GET \
--url https://answeringagent.com/api/v1/live-updates \
--header 'Authorization: Bearer <token>'import requests
url = "https://answeringagent.com/api/v1/live-updates"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://answeringagent.com/api/v1/live-updates', 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://answeringagent.com/api/v1/live-updates",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://answeringagent.com/api/v1/live-updates"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://answeringagent.com/api/v1/live-updates")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://answeringagent.com/api/v1/live-updates")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": 1,
"title": "Temporary System Maintenance",
"message": "We are currently performing system maintenance. Expected completion time is 2 PM.",
"link": "https://example.com/weekend-sale",
"type": "announcement",
"starts_at": "2025-07-25T14:00:00Z",
"expires_at": "2025-07-25T16:00:00Z",
"is_cancelled": false,
"created_at": "2025-07-25T10:30:00Z",
"updated_at": "2025-07-25T11:45:00Z",
"phone_numbers": [
{
"id": 1,
"name": "Main Office",
"phone_number": "+1234567890"
}
],
"created_by": {
"id": 1,
"name": "John Doe",
"email": "john@example.com"
}
}
],
"links": {
"first": "<string>",
"last": "<string>",
"prev": "<string>",
"next": "<string>"
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 5,
"per_page": 20,
"to": 20,
"total": 97
}
}{
"error": "API key is required"
}{
"message": "No team selected."
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Filter updates by specific phone number/location
Filter updates by type
Available options:
announcement, wait_time, flash_sale, closure, schedule_change Filter updates by current status
Available options:
scheduled, active, expired, cancelled If true, only return currently active updates
If true, include both active and scheduled updates while excluding expired ones
Number of items per page for pagination
Required range:
1 <= x <= 100⌘I
List Live Updates
curl --request GET \
--url https://answeringagent.com/api/v1/live-updates \
--header 'Authorization: Bearer <token>'import requests
url = "https://answeringagent.com/api/v1/live-updates"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://answeringagent.com/api/v1/live-updates', 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://answeringagent.com/api/v1/live-updates",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://answeringagent.com/api/v1/live-updates"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://answeringagent.com/api/v1/live-updates")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://answeringagent.com/api/v1/live-updates")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": 1,
"title": "Temporary System Maintenance",
"message": "We are currently performing system maintenance. Expected completion time is 2 PM.",
"link": "https://example.com/weekend-sale",
"type": "announcement",
"starts_at": "2025-07-25T14:00:00Z",
"expires_at": "2025-07-25T16:00:00Z",
"is_cancelled": false,
"created_at": "2025-07-25T10:30:00Z",
"updated_at": "2025-07-25T11:45:00Z",
"phone_numbers": [
{
"id": 1,
"name": "Main Office",
"phone_number": "+1234567890"
}
],
"created_by": {
"id": 1,
"name": "John Doe",
"email": "john@example.com"
}
}
],
"links": {
"first": "<string>",
"last": "<string>",
"prev": "<string>",
"next": "<string>"
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 5,
"per_page": 20,
"to": 20,
"total": 97
}
}{
"error": "API key is required"
}{
"message": "No team selected."
}