Suggestions

close search

Transfer call

URL: https://api.stringee.com/v1/call2/transfer

HTTP method: POST

Custom HTTP POST header: Name: X-STRINGEE-AUTH Value: JSON web token (JWT), see Authentication

POST data (body):

{
    "callId": "YOUR_CALL_ID",
    "fromUserId": "user1",
    "to": {
        "type": "internal",
        "number": "user2",
        "alias": "user2"
    }
}
Field Type Require Description
callId String Yes The ID of the Call you want to transfer
fromUserId String Yes Transfer from this userID
to JsonObject Yes To

Response:

{
    "r": response_code,
    "message": "response_message"
}
Field Type Require Description
r Int Yes Response code
message String No Response message

Sample request

POST /v1/call2/transfer HTTP/1.1
Host: https://api.stringee.com
X-STRINGEE-AUTH: json_web_token
Accept: application/json

{
    "callId": "call-vn-1-P8A5GOP6IC-1530516282840",
    "fromUserId": "user1",
    "to": {
        "type": "internal",
        "number": "user2",
        "alias": "user2"
    }
}

Sample response

{"r":0}