Skip to content

API Reference

Every ProxyBox has two base URLs — one for local access and one for remote access. The API works identically on both.

AccessBase URL
Local (same network)https://pbx-<id>.pbxz.io/api/v1
Remote (anywhere)https://pbx-<id>.pbxz.cloud/api/v1

Replace <id> with your 4-character device ID (found on the sticker on your device). The .cloud URL routes through an encrypted tunnel — no VPN or port forwarding required. See Remote Access for details.

All requests must include your API key in the X-API-Key header. You can find and regenerate your API key on the admin page under Settings.

X-API-Key: YOUR_API_KEY

All endpoints return a standard JSON envelope:

FieldTypeDescription
statusstring"success" or "error".
statusCodenumberHTTP status code.
result.modulestringThe route that handled the request.
result.messagestringHuman-readable status message.
result.contentobject | nullResponse payload (varies by endpoint).

All endpoints may return an error in this format:

{
"status": "error",
"statusCode": 400,
"result": {
"module": "/status",
"message": "An error occurred.",
"content": "A specific error occurred."
}
}

The full OpenAPI 3.1 specification is available for programmatic consumers at openapi.json.