URL: https://api.stringee.com/v1/call2/whisper
HTTP method: POST
Content-Type: application/json
Custom HTTP POST header: Name: X-STRINGEE-AUTH Value: JSON web token (JWT), see Authentication
POST data (body):
{
"callId": "YOUR_CALL_ID",
"userId": "USER_ID"
}
Field | Type | Require | Description |
---|---|---|---|
callId | String | Yes | The ID of the Call you want to whisper |
userId | String | Yes | User ID |
Response:
{
"r": response_code,
"callId": "callId",
"message": "response_message"
}
Field | Type | Require | Descriptio |
---|---|---|---|
r | Int | Yes | Response code |
message | String | No | Response message |
Sample request
POST /v1/call2/whisper HTTP/1.1
Host: https://api.stringee.com
X-STRINGEE-AUTH: json_web_token
Accept: application/json
{
"callId": "call-vn-1-R2NMRYB3WB-1523426433807"
}
Sample response
{
"r":0,
"callId": "call-vn-1-R2NMRYB3WB-1523426433807",
"message": "OK"
}