Skip to main content

Retrieve domains

This endpoint allows you to retrieve a list of all domains in the whitelist.

This route needs to be authenticated, see Authentication here

Endpoint

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

Query Parameters

NameTypeDescriptionFormatRequired
environmentStringFilter environmentdevelopment or production

You can pass the environment parameter to find the whitelisted records 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": "63b4555e-6467-4e9f-8628-91c8303f9c57",
"domain": "example.com"
}
]

401 Unauthorized

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