Query Speed Dial Prefix Setting

Query the speed dial prefix setting.

Request URL

GET {base_url}/{api_path}/speed_dial_prefix/get?access_token={access_token}

Request parameters

No request parameters. Send the request URL directly to query the speed dial prefix setting.

Response parameters

Parameter Type Description
errcode Integer Returned error code.
  • 0: Succeed.
  • Non-zero value: Failed.
Note: You can check the error code and error message in Error Code and Error Message.
errmsg String Returned message.
  • SUCCESS: Succeed.
  • FAILURE: Failed.
data Object<Speed_Dial_Prefix> The speed dial prefix setting.
Speed_Dial_Prefix
Parameter Type Description
prefix String The speed dial prefix.

Example

Request example

GET /openapi/v1.0/speed_dial_prefix/get?access_token=w3rTvBskMgZ1XpQd7NhLc0eYfA6UoIjK HTTP/1.1

Host: yeastardocs.example.yeastarcloud.com

Response example

HTTP/1.1 200 OK
{
    "errcode": 0,
    "errmsg": "SUCCESS",
    "data": {
        "prefix": "*89"
    }
}