call
- Inputs
{
"phone_number": "phone number: example: +18885559977: excludes user_id,user_name",
"type": "integer: 1 indicates a voice call and 2 indicates a video call",
"user_id": "integer: user id excludes phone_number,user_name",
"user_name": "string between 4 to 40 characters: excludes phone_number,user_id"
}
- Errors
{
"blocked_incoming_calls": "The recipient has blocked incoming calls or blocked the caller",
"invalid_user": "recipient user does not exist",
"must_login": "user must be login"
}
- Extra Description
Creates a new call
- Sample
- Url:
- Output:
{
"call_id": "3a7a91599dbcb2f97e94c14dcb0ca470",
"ice_servers": {
"credential": "irrujdvt0d03yv5e1gvluizu7qudi6",
"urls": [
"turn:213.108.240.85:65044"
],
"username": "i12wm00xvh"
},
"status": "success",
"time": 1546083762.6890123
}