/
Application Program Interface (API)

Application Program Interface (API)

The Application Program Interface (API) is the backbone of both switching and the WebUI.

  1. The switching API handles the data refresh and configuration changes from the RM ā†’ DB ā†’ (LB, TS, TM, MS).

  2. The UI API handles the communications between the WebUI and the RM.

As our API employs REST API Token-based Authentication, the API call /users/sign_in/ generates a session token using credentials from the UI. You may want to set up an API user specifically for this purpose and to keep proper logs.

To explore the Peeredge APIs, connect to the API explorer at https://api-customername.peeredge.com

Ā 

Since the Peeredge API employs REST API Token-based Authentication, your first task is to get a Token. The API call /users/sign_in/ generates a session token using credentials from the UI. You may want to set up an API user specifically for this purpose and to keep proper logs.

To view the token:

  1. Scroll down to Users and expand the Users sub-menu then Users/sign_in.

  2. Click Try it out. The platform displays username and password fields that correspond with a username and password used to log in to your PE3 instance.

  3. Enter the login information and then click Execute. You should find the token string at the beginning of the response.

Note:

  • The userā€™s login name (email) and the userā€™s password are displayed in the output.

Once you have the Token, it can be used is to authenticate all the other API requests.

Related content

Peeredge Orchestrator User Guide
Peeredge Orchestrator User Guide
More like this
Call Detail Record (CDR)
Call Detail Record (CDR)
Read with this
User Interface (UI)
User Interface (UI)
More like this
PeerEdge Enterprise Platform Guide
PeerEdge Enterprise Platform Guide
More like this
Peeredge Home
Peeredge Home
More like this
Dashboard (Home)
Dashboard (Home)
More like this