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
Name | Type | Description | Format | Required |
---|---|---|---|---|
environment | String | Filter environment | development 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
Name | Type | Description |
---|---|---|
uuid | String | Uuid of record |
domain | String | Allowed domain |
Responses
200 OK
[
{
"uuid": "63b4555e-6467-4e9f-8628-91c8303f9c57",
"domain": "example.com"
}
]
401 Unauthorized
{
"statusCode": 401,
"message": "Unauthorized"
}