List the partner's PBXes (partner-api)
Lists the PBXes of the partner the key belongs to. PBXes of other partners are never returned. Each PBX carries customer_id only, never customer details.
Required scopes: partner-api and partner-pbxes.
Query parameters: search, per_page (1 to 5000, default 100) and page. Results are ordered by name, then id, and returned as a Laravel paginator: data, links and meta. search matches the PBX name and instance name.
Partner API key. A bearer token that a Reseller Admin generates in the partner
portal under Settings, API keys. It belongs to the reseller partner, not to a
person, and carries the scopes ticked at creation time. Send it on every request as
Authorization: Bearer <partner_api_key>.
Every response is confined to the partner the key belongs to. Keep the key secret and call the API from your server only, never from a browser app.
- HTTP Authorization Scheme
bearer- Bearer format
Bearer <partner_api_key>
application/jsonResponses
dataarray<object>
550e8400-e29b-41d4-a716-446655440002Head Officeacme-hq1042550e8400-e29b-41d4-a716-446655440001encountsobject
14161262025-03-12T11:00:00+00:002026-09-20T07:30:00+00:00linksobject
http://localhost/api/v1/resources?page=1http://localhost/api/v1/resources?page=1metaobject
111linksarray<object>
http://localhost/api/v1/resources?page=1first1http://localhost/api/v1/resources1511This API key is missing a required scope.required_scopesarray<string>
errorsobject
https://cockpit.voxbi.com/api/v1/api/v1/pbxes
curl -X GET 'https://cockpit.voxbi.com/api/v1/api/v1/pbxes' \
-H 'Authorization: Bearer YOUR_TOKEN'
const response = await fetch('https://cockpit.voxbi.com/api/v1/api/v1/pbxes', {
method: 'GET',
headers: {
'Content-Type': 'application/json',
'Authorization': `Bearer ${YOUR_TOKEN}`,
},
});
const data = await response.json();
console.log(data);
import requests
response = requests.get('https://cockpit.voxbi.com/api/v1/api/v1/pbxes',
headers={'Authorization': f'Bearer {YOUR_TOKEN}'}
)
response.raise_for_status()
data = response.json()
print(data)
<?php
$context = stream_context_create([
'http' => [
'method' => 'GET',
'header' => "Content-Type: application/json\r\nAuthorization: Bearer YOUR_TOKEN",
],
]);
$response = file_get_contents('https://cockpit.voxbi.com/api/v1/api/v1/pbxes', false, $context);
$data = json_decode($response, true);
print_r($data);
{ … }
"data": [ … ],
{ … },
"counts": { … },
{ … }
"counts": { … },
"links": { … },
"meta": { … }
"links": [ … ],
{ … },
{ … },
{ … }
{ … }
application/json{ … }
application/json{ … }
"errors": { … }
"per_page": [ … ]
application/json{ … }
30application/json