Suggestions

close search

Call Management

Realtime call

URL: https://api.stringeex.com/v1/call/list

HTTP method: GET

Content-Type: application/json

Custom HTTP header: Name: X-STRINGEE-AUTH Value: JSON web token (JWT) see StringeeX API REST Authentication

Sample response:

{
    "r": 0,
    "data": {
        "totalCount": 2,
        "totalPages": 1,
        "currentPage": 1,
        "limit": 200,
        "calls": [
            {
                "callId": "call-vn-1-MC88W0DJQD-1544614208296",
                "stringeeNumber": "842473082686",
                "agent": "huy",
                "startTime": 1544697312327,
                "answeredTime": 0,
                "stringeeNumberNickname": "Number 112",
                "customerNumber": "84909982668",
                "direction": "callout"
            },
            {
                "callId": "call-vn-1-MC88W0DJQD-1544614208297",
                "stringeeNumber": "+842473082686",
                "agent": "ac_g3wwkjog1xjrxknz",
                "startTime": 1544697315140,
                "answeredTime": 0,
                "stringeeNumberNickname": "Number 112",
                "customerNumber": "84909982668",
                "direction": "callin"
            }
        ]
    },
    "message": "Load call(s) success"
}

Transfer call

URL: https://api.stringeex.com/v1/call/transfer

HTTP method: GET

Content-Type: application/json

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

Sample response:

{
    "callId": "CALL_ID",
    "to": {
        "type": "internal",
        "number": "AGENT_STRINGEE_USER_ID",
        "alias": "AGENT_STRINGEE_USER_ID"
    }
}

Stop call

URL: https://api.stringeex.com/v1/call/stop

HTTP method: GET

Content-Type: application/json

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

Sample response:

{
    "callId": "YOUR_CALL_ID"
}

Add participant to call

URL: https://api.stringeex.com/v1/call/addparticipant

HTTP method: GET

Content-Type: application/json

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

Sample response:

{
    "callId": "call-vn-1-PODRUT8HZA-1544701351185",
     "from": {
        "type": "external",
        "number": "842473082686",
        "alias": "842473082686"
    },

    "to": {
        "type": "internal",
        "number": "500",
        "alias": "500"
    }
}

Download file record

URL: https://api.stringeex.com/v1/recordfile/play?callId=CALL_ID&access_token=AUTH_TOKEN

HTTP method: GET

Content-Type: application/json

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

Upload greeting file

<form action="https://api.stringeex.com/v1/greetingfileupload?access_token=AUTH_TOKEN" method="post" enctype="multipart/form-data">

    <input type="input" name="desc" id="desc" value="desc 123"><br><br>

    <input type="file" name="file_upload" id="file_upload">

    <input type="submit" value="Upload Image" name="submit">
</form>