curl --request POST \
--url https://pria.praxislxp.com/api/admin/accounts \
--header 'Content-Type: application/json' \
--header 'x-access-token: <api-key>' \
--data '
{
"accountsearch": "<string>",
"activeOnly": false,
"account": "665000000000000000000001 665000000000000000000002",
"minimum": true,
"insitutionsUsage": true,
"page": 1,
"pageSize": 50
}
'import requests
url = "https://pria.praxislxp.com/api/admin/accounts"
payload = {
"accountsearch": "<string>",
"activeOnly": False,
"account": "665000000000000000000001 665000000000000000000002",
"minimum": True,
"insitutionsUsage": True,
"page": 1,
"pageSize": 50
}
headers = {
"x-access-token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-access-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
accountsearch: '<string>',
activeOnly: false,
account: '665000000000000000000001 665000000000000000000002',
minimum: true,
insitutionsUsage: true,
page: 1,
pageSize: 50
})
};
fetch('https://pria.praxislxp.com/api/admin/accounts', 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://pria.praxislxp.com/api/admin/accounts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'accountsearch' => '<string>',
'activeOnly' => false,
'account' => '665000000000000000000001 665000000000000000000002',
'minimum' => true,
'insitutionsUsage' => true,
'page' => 1,
'pageSize' => 50
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-access-token: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://pria.praxislxp.com/api/admin/accounts"
payload := strings.NewReader("{\n \"accountsearch\": \"<string>\",\n \"activeOnly\": false,\n \"account\": \"665000000000000000000001 665000000000000000000002\",\n \"minimum\": true,\n \"insitutionsUsage\": true,\n \"page\": 1,\n \"pageSize\": 50\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-access-token", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://pria.praxislxp.com/api/admin/accounts")
.header("x-access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"accountsearch\": \"<string>\",\n \"activeOnly\": false,\n \"account\": \"665000000000000000000001 665000000000000000000002\",\n \"minimum\": true,\n \"insitutionsUsage\": true,\n \"page\": 1,\n \"pageSize\": 50\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://pria.praxislxp.com/api/admin/accounts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-access-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"accountsearch\": \"<string>\",\n \"activeOnly\": false,\n \"account\": \"665000000000000000000001 665000000000000000000002\",\n \"minimum\": true,\n \"insitutionsUsage\": true,\n \"page\": 1,\n \"pageSize\": 50\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"data": [
{}
],
"total": 123,
"hasMore": true,
"page": 123,
"pageSize": 123,
"message": "<string>"
}Search and retrieve accounts
Retrieves a paginated list of accounts with institution usage statistics
curl --request POST \
--url https://pria.praxislxp.com/api/admin/accounts \
--header 'Content-Type: application/json' \
--header 'x-access-token: <api-key>' \
--data '
{
"accountsearch": "<string>",
"activeOnly": false,
"account": "665000000000000000000001 665000000000000000000002",
"minimum": true,
"insitutionsUsage": true,
"page": 1,
"pageSize": 50
}
'import requests
url = "https://pria.praxislxp.com/api/admin/accounts"
payload = {
"accountsearch": "<string>",
"activeOnly": False,
"account": "665000000000000000000001 665000000000000000000002",
"minimum": True,
"insitutionsUsage": True,
"page": 1,
"pageSize": 50
}
headers = {
"x-access-token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-access-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
accountsearch: '<string>',
activeOnly: false,
account: '665000000000000000000001 665000000000000000000002',
minimum: true,
insitutionsUsage: true,
page: 1,
pageSize: 50
})
};
fetch('https://pria.praxislxp.com/api/admin/accounts', 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://pria.praxislxp.com/api/admin/accounts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'accountsearch' => '<string>',
'activeOnly' => false,
'account' => '665000000000000000000001 665000000000000000000002',
'minimum' => true,
'insitutionsUsage' => true,
'page' => 1,
'pageSize' => 50
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-access-token: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://pria.praxislxp.com/api/admin/accounts"
payload := strings.NewReader("{\n \"accountsearch\": \"<string>\",\n \"activeOnly\": false,\n \"account\": \"665000000000000000000001 665000000000000000000002\",\n \"minimum\": true,\n \"insitutionsUsage\": true,\n \"page\": 1,\n \"pageSize\": 50\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-access-token", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://pria.praxislxp.com/api/admin/accounts")
.header("x-access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"accountsearch\": \"<string>\",\n \"activeOnly\": false,\n \"account\": \"665000000000000000000001 665000000000000000000002\",\n \"minimum\": true,\n \"insitutionsUsage\": true,\n \"page\": 1,\n \"pageSize\": 50\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://pria.praxislxp.com/api/admin/accounts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-access-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"accountsearch\": \"<string>\",\n \"activeOnly\": false,\n \"account\": \"665000000000000000000001 665000000000000000000002\",\n \"minimum\": true,\n \"insitutionsUsage\": true,\n \"page\": 1,\n \"pageSize\": 50\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"data": [
{}
],
"total": 123,
"hasMore": true,
"page": 123,
"pageSize": 123,
"message": "<string>"
}Authorizations
JWT token passed in x-access-token header
Body
Case-insensitive search term matched against account name and managerEmail (regex-escaped)
When true, restrict to accounts that have actually been used (lastActivityAt is set, not null).
Space-joined account ids to narrow the list to (the admin scope bar's account picker). Only narrows — ANDed with the caller's role scope; tokens that are not 24-hex ObjectIds are ignored, and an input with none is no filter.
"665000000000000000000001 665000000000000000000002"
Whether to return minimal account data (bypasses pagination)
When true, includes an institutionsUsage summary (count, credits, creditsUsed, creditsTotal, creditsUsagePct) aggregated across the account's institutions. count covers active institutions only; the credit fields aggregate across all statuses.
Page number (1-based)
x >= 1Number of results per page
1 <= x <= 5000Response
Successfully retrieved account list
Was this page helpful?