Advoco NetPBX Web API is a framework for server side integrations.
Advoco NetPBX Web API is a framework that makes it easy to build applications and services that
uses the full featured NetPBX platform.
Reachable from a broad range of clients, including browsers and mobile devices, Advoco NetPBX Web API
is an ideal platform for building RESTful telephony applications.
This reference helps you implement the RESTful Advoco NetPBX Web API v1. This API uses a JSON format for output and is capable of handling CORS (Cross-Origin Resource Sharing) requests.
The API is stateless – all requests are validated against an API token.
The API token is obtained via fetching the Authorations objects through this Web API.
The API uses a straight-forward URL naming convention. Each request must be made to the API endpoint (https://api.advoco.se/api/v1),
followed by the type of object in a plural form, e.g. https://api.advoco.se/api/v1/groups.
When one item is being asked and such method exists, the ID of the item must be appended to the URL, e.g. https://api.advoco.se/api/v1/groups/2,
and when asking for sub-objects of an object, append that to the ID of the master object, e.g. https://api.advoco.se/api/v1/groups/2/members.
API token must be provided as part of the query string for all requests, using the 'api_token' variable, e.g. https://api.advoco.se/api/v1/groups?api_token=tS5adsXC6V2nH991.