Get a configuration import (pbx)
/configuration-imports/{id}
The status of one import: queued, processing, ready, restored, failed or removed, with its
times. ready means the version is stored as a configuration version of the PBX and waits for a person to
review and restore it in Cockpit (version_id and links.version); nothing was applied to the PBX.
restored adds restored_at, read from the restore history. When failed: the reasons in errors
(readable text, never SQL); no version was made and the PBX was not changed. removed: the version was
deleted before anyone restored it. The id of another PBX's import answers 404.
The status never mentions conflicts with other PBXs: a person sees them in Cockpit.
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
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/showhttps://cockpit.voxbi.com/api/v1/configuration-imports/{id}
curl -X GET 'https://cockpit.voxbi.com/api/v1/configuration-imports/{id}' \
-H 'Authorization: Bearer YOUR_TOKEN'
const response = await fetch('https://cockpit.voxbi.com/api/v1/configuration-imports/{id}', {
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/{id}',
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/{id}', false, $context);
$data = json_decode($response, true);
print_r($data);
{ … }
"notes": [ … ],
{ … }
"links": { … }
{ … }
application/json{ … }
application/json{ … }
{ … }
60application/json