TagMangoTagMango Docs
Workshop

Check Video Call Availability

POST
/api/v1/external/workshops/video-calls/check-availability

Check whether a proposed time slot (one-time, daily, or weekly) overlaps with the creator's existing upcoming/ongoing video calls.

  • maximumOverlap of 0 means no conflicts.
  • overlapList contains each conflicting pair so the caller can show specifics to the user.
  • To check while editing an existing call, pass excludeVideocall (single) or groupId (recurring group) to exclude it from the conflict check.
AuthorizationBearer <token>

In: header

Header Parameters

x-whitelabel-host*string

Host name of the dashboard, ex: mydomain.tagmango.com

x-timezone-offset*string

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
}