Refresh API Token

Refresh the API token to ensure that the 3rd-party application server the PBX are connected via the API interface.

Note: The 3rd-party application should refresh the API token in each 30 minutes, or the old API token will be invalid and the 3rd-party application and the PBX will be disconnected.


POST /api/v1.1.0/token/refresh

Request Parameters

Name Importance Type Description
refreshtoken Required String The latest refreshtoken value.

Response Parameters

Name Type Description
token String The new API token.
refreshtoken String Then new token that is used to refresh token.


Request Example
POST /api/v1.1.0/token/refresh HTTP/1.1
Content-Type:application/json; charset=utf-8
    "refreshtoken": "58f29c380365e5546cd3ac8c34edc88c"
Response Example
HTTP/1.1 200 OK
Access-control-allow-origin: *
Access-control-allow-methods: GET, POST, OPTIONS, PUT, DELETE
    "status": "Success",
    "token": "1c0a3fd34ca5e5292042a77e4d9ff950",
    "refreshtoken": "4a1f20e901b45d4106e7aee076d22115"