Home Support SMS API

Invoke Phone

Description: The API is for invoking phone for a call.

Request Parameters Description:

Parameters Description Required Type

callee

Called number: 7-15 digits composed of national code + mobile phone number.

Yes

String

displayNum

Display number: 7-15 digits or null.

No

String

account

Phone account

Yes

String

appId

Audio application ID

Yes

String

calledInfo

Called information, 0-1000 characters.

No

String

Request URL:

                    
                      https://api.onbuka.com/v3/voice/sendSip
                    
                  

Request Sample:

                    
                      RequestURL:
                        https://api.onbuka.com/v3/voice/sendSip
                      RequestMethod:
                        POST
                      RequestHeaders:
                        Content-Type: application/json;charset=UTF-8
                        Sign: 05d7a50893e22a5c4bb3216ae3396c7c
                        Timestamp: 1630468800
                        Api-Key: bDqJFiq9
                      RequestBody:
                        {
                          "callee": "932111111111",
                          "displayNum": "1008122211",
                          "account": "test_001",
                          "appId": "4luaKsL2",
                          "calledInfo": "calledInfo"
                        }
                    
                  

Response Parameters Description:

Parameters Description Type

status

"0"means successful, others than 0 means failure, seeing Status code description.

String

reason

Failure reason description

String

data

Exclusive recording ID

String

Response Sample:

                    
                      {
                        "status": "0",
                        "reason": "success",
                        "data": "2203031113381000002"
                      }
                    
                  
 

Feedback

0/500

Need help?

Click here and start chatting with us!