Get Exposures for a Domain

Retrieve all breaches emails from a given domain have been exposed in
This call is useful if you are interested in pulling a list of breaches where email addresses from your domain have been exposed. This differs slightly from the "Get Exposures for All Email Addresses in a Domain" variant of the call in that it returns a summary list of all breaches users in the domain have been exposed in versus returning the specific email addresses.
Note that you must have approval to pull exposures for a given domain. Contact support for approval if you receive a message that you do not have permissions to pull exposures for a given domain.
get
https://api.enzoic.com/v1
/exposures-for-domain
Lookup all exposures for a domain

Returns all credentials exposures that have been found for a given domain.

Parameters
Query
domain*
string
The domain to return exposures for (e.g. “enzoic.com”)
includeExposureDetails
integer
If this parameter is specified and non-zero, the results will include the exposure details inline, rather than just the IDs. In this case the exposures array in the response will contain an array of ExposureDetails objects
pageSize
integer
The number of results to return in a single call. The default page size is 100 and the maximum is 500.
pagingToken
integer
For each call to the API, if there are additional pages of results available then a pagingToken will be returned. Pass the pagingToken in via this parameter to retrieve the subsequent page of results. Should be left off for the initial call to the API.
Responses
200: OK
Exposures for the domain were found and the associated Exposures are in the response body
404: Not Found
The domain was not found in Enzoic’s database and has no Exposures associated with it.