TagMangoTagMango Docs
Workshop

Get Video Call Participant Preview

GET
/api/v1/external/workshops/video-calls/participant-preview

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.
AuthorizationBearer <token>

In: header

Query Parameters

mangoes*string

Comma-separated mango IDs to include. Subscribers of these mangoes are counted as eligible participants.

excludeMangoes?string

Comma-separated mango IDs to exclude. Subscribers whose only active subscription is to these mangoes will be excluded.

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

Response Body

application/json

application/json

application/json

curl -X GET "https://api-prod-new.tagmango.com/api/v1/external/workshops/video-calls/participant-preview?mangoes=66c4964c11e7fef26751f3a7%2C66c4964c11e7fef26751f3a8" \  -H "x-whitelabel-host: string" \  -H "x-timezone-offset: string"
{
  "totalParticipant": 120
}
{
  "code": 400,
  "type": "Bad request",
  "statusMessage": "BAD_REQUEST",
  "message": "Invalid request",
  "success": false
}
{
  "code": 401,
  "type": "Unauthorized",
  "statusMessage": "UNAUTHORIZED",
  "message": "Invalid token",
  "success": false
}