> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Site Domains

Retrieve details of all websites associated with the current account.

<Note>
  External Documentation

  To learn more, visit the [Imperva documentation](https://docs.imperva.com/bundle/cloud-application-security/page/website-domain-api-definition.htm).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter | Description                                                                       |
  | --------- | --------------------------------------------------------------------------------- |
  | Page      | The page to return.                                                               |
  | Site ID   | The Imperva ID of the onboarded website. Can be obtained by the Get Sites action. |
  | Size      | The size of the page to return, valid range is 1 - 100.                           |
</div>

## Example Output

```json theme={"dark"}
{
	"data": [
		{
			"id": 440,
			"siteId": 66575115,
			"domain": "a.example.com",
			"autoDiscovered": true,
			"mainDomain": false,
			"managed": false,
			"subDomains": [
				{
					"id": 320,
					"subDomain": "sub.domain.example.com",
					"lastDiscoveredTime": 1655140751000,
					"creationTime": 1655140751000
				}
			],
			"validationMethod": "CNAME",
			"validationCode": "xjkschvver.impervadnsstage.net",
			"cnameRedirectionRecord": "xjkschvver.impervadnsstage.net",
			"status": "BYPASSED",
			"creationDate": 1655140751000
		}
	],
	"meta": {
		"totalPages": 5
	}
}
```

## Workflow Library Example

[Get Site Domains with Imperva and Send Results Via Email](https://library.blinkops.com/workflows/get-site-domains-with-imperva-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/get-site-domains-with-imperva-and-send-results-via-email/canvas" />
</div>
