URL: https://api.stringee.com/v1/call2/putactions
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",
    "actions": []
}
| Field | Type | Require | Description | 
|---|---|---|---|
| callId | String | Yes | The ID of the Call you want to put action | 
| actions | JsonArray | Yes | SCCOs | 
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/putactions HTTP/1.1
Host: https://api.stringee.com
X-STRINGEE-AUTH: json_web_token
Accept: application/json
{
    "callId": "call-vn-1-P8A5GOP6IC-1530516282840",
    "actions": [{
        "action": "connect",
        "from": {
            "type": "external",
            "number": "STRINGEE_NUMBER",
            "alias": "STRINGEE_NUMBER"
        },
        "to": {
            "type": "internal",
            "number": "TO_USER_ID",
            "alias": "TO_USER_ID"
        }
    }]
}
Sample response
{"r":0}