Description
Yeastar apidemo software is only available for Yeastar S-Series PBX, it no longer supports Yeastar P-Series PBX, we suggest postman software to test Yeastar P-Series PBX API feature. This article shares how to get to token of Yeastar P-Series PBX by postman software client.
Applicable Devices
Yeastar P-Series PBX
Steps
Step1 Download postman software from official website and install it.
Step2 Start postman client, click on plus symbol - Blank collection like below screenshot, set an identical name for connection.
Click on 'Add a request' to call different API interfaces of Yeastar P-Series PBX.
Step3 Set parameter like below screenshot, username stands for Client ID and password stands for Client Secret from API menu in Yeastar P-Series PBX's web interface- Integrations - API.
For Local access, the url is https://xxx.xxx.xxx.xxx:8088/openapi/v1.0/get_token
For FQDN access, the url is https://xxx.ras.yeastar.com/openapi/v1.0/get_token
For P-Cloud domain, the url is https://your.cloud.domain/openapi/v1.0/get_token
Click on 'Send' to launch request, if could see there is access_token and refresh_token in output section, it indicates the API login is successful.
0 Comments