List user alert preferences
curl --request POST \
--url https://alerts.platform.arb.inc/preferences/list \
--header 'Authorization: Bearer <token>'import requests
url = "https://alerts.platform.arb.inc/preferences/list"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://alerts.platform.arb.inc/preferences/list', 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://alerts.platform.arb.inc/preferences/list",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
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://alerts.platform.arb.inc/preferences/list"
req, _ := http.NewRequest("POST", 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.post("https://alerts.platform.arb.inc/preferences/list")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://alerts.platform.arb.inc/preferences/list")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body[
{
"id": "docket_filings",
"title": "Docket Filings",
"description": "Whether to receive alerts when new docket filings occur",
"type": "boolean",
"value": "true"
}
]preferences
List user alert preferences
Retrieves all alert preferences for the authenticated user, including settings for docket filings and case creation notifications. Returns each preference with its current value, type, title, and description.
POST
/
preferences
/
list
List user alert preferences
curl --request POST \
--url https://alerts.platform.arb.inc/preferences/list \
--header 'Authorization: Bearer <token>'import requests
url = "https://alerts.platform.arb.inc/preferences/list"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://alerts.platform.arb.inc/preferences/list', 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://alerts.platform.arb.inc/preferences/list",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
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://alerts.platform.arb.inc/preferences/list"
req, _ := http.NewRequest("POST", 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.post("https://alerts.platform.arb.inc/preferences/list")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://alerts.platform.arb.inc/preferences/list")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body[
{
"id": "docket_filings",
"title": "Docket Filings",
"description": "Whether to receive alerts when new docket filings occur",
"type": "boolean",
"value": "true"
}
]Authorizations
access token
Response
200 - application/json
Successfully retrieved user preferences
Unique identifier for the preference
Example:
"docket_filings"
Human-readable title for the preference
Example:
"Docket Filings"
Detailed description of what this preference controls
Example:
"Whether to receive alerts when new docket filings occur"
Data type of the preference value
Available options:
boolean, string, number Example:
"boolean"
Current value of the preference as a string
Example:
"true"