List configuration imports (pbx)
/configuration-imports
The imports sent with this PBX's API keys, newest first, paginated (default 25, at most 100 per page). Notes are left out of the list: read one import for them. Imports (and the unrestored versions they made) are kept for 30 days.
Needs the configuration-import scope. Rate limit: 30 requests per minute per PBX.
Answers 503 while configuration versions are switched off.
API key created on the Cockpit Integrations page (an "API key" integration).
It is a bearer token owned by the customer's PBX and limited to the scopes
selected when the key was created (e.g. phone-numbers, push-configuration).
Send it in the Authorization header:
Authorization: Bearer <api_key>
Manage keys (create / reveal / revoke) from Integrations → New integration → API key.
- HTTP Authorization Scheme
bearer
application/jsonResponses
dataarray<object>
550e8400-e29b-41d4-a716-446655440000queued processing ready restored failed removedreadyMove from the old provider2026-11-24T10:15:00+01:002026-11-24T10:15:02+01:002026-11-24T10:15:09+01:00550e8400-e29b-41d4-a716-4466554400012026-11-25T09:30:00+01:00errors*array<object>
row.pbx_idThe PBX id must be "00000000-0000-4000-8000-000000000001".extensionExtensionnotesarray<object>
example.skippedinfo warninginfoOne unsupported feature was left out.links*object
https://cockpit.voxbi.com/api/v1/configuration-imports/550e8400-e29b-41d4-a716-446655440000https://cockpit.voxbi.com/admin/configuration-versions/550e8400-e29b-41d4-a716-446655440001/showlinksobject
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/resources1511The given data was invalid.errorsobject
filterarray<string>
sortarray<string>
pagearray<string>
per_pagearray<string>
https://cockpit.voxbi.com/api/v1/configuration-imports
curl -X GET 'https://cockpit.voxbi.com/api/v1/configuration-imports' \
-H 'Authorization: Bearer YOUR_TOKEN'
const response = await fetch('https://cockpit.voxbi.com/api/v1/configuration-imports', {
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/configuration-imports',
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/configuration-imports', false, $context);
$data = json_decode($response, true);
print_r($data);
{ … }
"data": [ … ],
{ … }
"links": { … }
"links": { … },
"meta": { … }
{ … }
application/json{ … }
application/json{ … }
"errors": { … }
"filter": [ … ],
"sort": [ … ],
"page": [ … ],
"per_page": [ … ]
private, must-revalidatekeep-aliveapplication/jsonOrigin6057{ … }
60application/json