Skip to main content

๐Ÿ“ก FS PBX API v1 Availability & Overview

ยท 2 min read

FS PBX provides a modern, RESTful API (v1) that enables programmatic access to core PBX resources such as domains, extensions, and voicemails. This API is designed for developers, integrators, and service providers who want to automate provisioning, integrate external systems, or build custom dashboards on top of FS PBX.

Official documentation:
https://www.fspbx.com/docs/api/v1/fs-pbx-api/


๐Ÿš€ API Availabilityโ€‹

  • Status: Available and documented
  • Version: v1
  • Protocol: HTTPS only
  • Format: JSON (request & response)
  • Authentication: Bearer token (API key)

The API is part of the standard FS PBX platform and is intended for production use. All endpoints are exposed securely over HTTPS; non-TLS requests are rejected.


๐Ÿ”— Base URLโ€‹

All API endpoints are prefixed with:

https://<your-fspbx-host>/api/v1

Example:

https://pbx.example.com/api/v1/domains

๐Ÿ” Authenticationโ€‹

FS PBX API v1 uses Bearer token authentication.

  • API tokens are generated within the FS PBX web UI (Users section).
  • Each request must include an Authorization header.

Example:

Authorization: Bearer YOUR_API_TOKEN

โš ๏ธ API tokens should be treated like passwords and stored securely.


๐Ÿ›  API Design & Behaviorโ€‹

The FS PBX API follows standard REST conventions:

  • HTTP verbs: GET, POST, PUT, DELETE
  • Predictable, resource-based URLs
  • JSON responses
  • HTTP status codes for success and errors

Paginationโ€‹

List endpoints support pagination to efficiently handle large datasets.

Common parameters include:

  • limit โ€“ number of records to return
  • starting_after โ€“ cursor-based pagination token

This makes the API suitable for automation, reporting, and data synchronization tasks.


๐Ÿ“ฆ Common Resource Typesโ€‹

While the full endpoint list is defined in the official docs, the API is structured around common PBX resources such as:

  • Domains โ€“ multi-tenant PBX environments
  • Extensions โ€“ SIP users and endpoints
  • Voicemails โ€“ voicemail boxes and messages

Each resource is exposed using consistent REST patterns for listing, querying, and management.


๐Ÿ’ก Typical Use Casesโ€‹

The FS PBX API v1 enables a wide range of integrations, including:

  • Automated provisioning of domains and extensions
  • Integration with billing, CRM, or OSS/BSS systems
  • Custom reporting and analytics dashboards
  • MSP and multi-tenant PBX management
  • Workflow automation and DevOps-style PBX operations