Latest stories

invite_to_conf

  • Inputs
{
    "conf_id": "integer",
    "role": "integer:3 indicate a 'admin' user. -2 indicate a 'publisher' user that can send video and voice but cannot invite other user. 2 indicate a 'publisher' user that can send video and voice and can invite other user. -1 indicate a 'subscribe' user that cannot send video and voice but cannot invite other user. 1 indicate a 'subscribe' user that cannot send video and voice and can invite other user",
    "user_ids": "list of integers: users ids"
}

  • Errors
{
    "must_login": "user must be login",
    "permission_denied": "user does not have permission or conf_id is invalid"
}

  • Extra Description
Invite a user to the conference

  • Sample
  • Url:
https://api.pantel.me/f/invite_to_conf?conf_id=1596269241288532&role=2&user_ids=[1579951154796510]
  • Output:
                                {
    "record_ids": [
        {
            "conf_id": 1596269241288599,
            "id": 1596278737694152,
            "joined_at": null,
            "kicked": false,
            "role": 2,
            "token": null,
            "user_id": 1579951154796510
        }
    ],
    "status": "success",
    "time": 1546083762.6890123,
    "user_role": 3
}