Skip to main content

Add domains

This endpoint allows you to add a domain to the whitelist, granting access to all meetings hosted within that domain.

This route needs to be authenticated, see Authentication here

Endpoint

POST https://nodeapi.superviz.com/whitelist

Body Parameters

NameTypeDescriptionRequired
domainStringAllowed domain
environmentStringSuperViz Token Environment

You can pass the environment parameter to create a whitelist based on your SuperViz Token environment, you can pass development or production. The default value is production.

Returns

NameTypeDescription
uuidStringUuid of record
domainStringAllowed domain

Responses

200 OK

{
"uuid": "b734c75a-0345-4576-b24a-19040e68f99a",
"domain": "example.com"
}

401 Unauthorized

{
"statusCode": 401,
"message": "Unauthorized"
}