Check Video Call Availability
Check whether a proposed time slot (one-time, daily, or weekly) overlaps with the creator's existing upcoming/ongoing video calls.
maximumOverlapof 0 means no conflicts.overlapListcontains each conflicting pair so the caller can show specifics to the user.- To check while editing an existing call, pass
excludeVideocall(single) orgroupId(recurring group) to exclude it from the conflict check.
Authorization
bearer In: header
Header Parameters
Host name of the dashboard, ex: mydomain.tagmango.com
Timezone offset (in number) example-> 330
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://api-prod-new.tagmango.com/api/v1/external/workshops/video-calls/check-availability" \ -H "x-whitelabel-host: string" \ -H "x-timezone-offset: string" \ -H "Content-Type: application/json" \ -d '{ "startDate": "2025-06-01", "fromTime": "10:00", "timezoneName": "Asia/Calcutta", "duration": 60 }'{
"maximumOverlap": 1,
"overlapList": [
{
"newCall": {
"fromTime": "2025-06-01T10:00:00.000Z",
"toTime": "2025-06-01T11:00:00.000Z"
},
"existingCall": {
"fromTime": "2025-06-01T10:00:00.000Z",
"toTime": "2025-06-01T11:00:00.000Z",
"title": "Morning Standup"
}
}
]
}{
"code": 400,
"type": "Bad request",
"statusMessage": "BAD_REQUEST",
"message": "Invalid request",
"success": false
}{
"code": 401,
"type": "Unauthorized",
"statusMessage": "UNAUTHORIZED",
"message": "Invalid token",
"success": false
}Create Video Call POST
Create a new video call (webinar) for the creator. - Duration must be between 30 and 300 minutes (5 hours). - For one-time calls: provide `startDate`, `fromTime`, `timezoneName`, `duration`. - For recurring calls: also provide `endDate`, and `repeatingDays` for weekly. - Returns the created slot ID for one-time calls, or the list of scheduled date ranges for recurring. - **Important:** Run the check-availability endpoint first to confirm there are no overlapping calls before creating.
Get Video Call Participant Preview GET
Returns the total number of eligible participants for a proposed video call based on active subscriptions to the selected mangoes. - Pass `mangoes` (comma-separated IDs) to include subscribers of those mangoes. - Optionally pass `excludeMangoes` to exclude subscribers whose only subscription is to those mangoes.