You are currently viewing 'Send Video Call Invitation Via Push Notification ' page



Usage

POST /User/SendCallInvitation

Content-Type

application/json

Description

Send Video Call Invitation Push Notification to RankOne Sport users.

Note

Put the access token generated from the Get Access Token endpoint (Auth/ValidateUser) in the request header field "Authorization" as "bearer ACCESS_TOKEN_HERE".

Example

Request Body data structure:

Type Name Note
string ChannelID Channel ID of video call to join
string SessionID Session ID of video call
string[] UserIDs Array/List of ROS UserID EXCLUDING caller. We currently restrict video call to allow only 2 participants so this should only have 1 ROS UserID
string Caller Name of caller
string CallerID UserID of caller (ROS or ROH)


Sample request body:

{
"ChannelID": "f1c45a53-7acb-4d23-97ec-67b0fe13be01",
"SessionID": "f3ab377b-0f4b-4aa1-b3d6-1366996dee65",
"UserIDs": ["c09e4762-c680-4603-9c9d-3f350cdd28fc"],
"Caller": "Test User",
"CallerID": "b964cf50-2371-464a-b430-33bee06e8f00",
}