URL: https://api.stringee.com/v1/call2/setvideofloor
HTTP method: POST
Custom HTTP POST header: Name: X-STRINGEE-AUTH Value: JSON web token (JWT), see REST API Authentication
POST data (body):
{
"callId": YOUR_CALL_ID,
"userId": USER_ID
}
Field | Type | Require | Description | Default |
---|---|---|---|---|
callId | String | Yes | The ID of the Call | |
userId | String | No | UserId |
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/setvideofloor HTTP/1.1
Host: https://api.stringee.com
X-STRINGEE-AUTH: json_web_token
Accept: application/json
{
"callId": "call-vn-1-3Y4BV0HQZA-1571073556774",
"userId": "userId"
}
Sample response
{"r":0}