> ## 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 Sites

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-management-api-definition.htm).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter  | Description                        |
  | ---------- | ---------------------------------- |
  | Names      | A list of website names to return. |
  | Site Types | A list of website types to return. |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter          | Description                                                                                                                                    |
  | ------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------- |
  | Imperva Account ID | The Imperva ID of the account or subaccount. By default, the account ID is the ID associated with the API credentials used for authentication. |
  | Page               | The page to return.                                                                                                                            |
  | Size               | The size of the page to return.                                                                                                                |
</div>

## Example Output

```json theme={"dark"}
{
	"data": [
		{
			"id": 123456,
			"name": "www.example.com",
			"type": "CLOUD_WAF",
			"accountId": 10,
			"creationTime": 1673186130,
			"cname": "sdh5s.example.com"
		}
	],
	"meta": {
		"totalPages": 0,
		"totalElements": 0,
		"size": 0,
		"page": 0
	},
	"links": {
		"additionalProp1": "string",
		"additionalProp2": "string",
		"additionalProp3": "string"
	}
}
```

## Workflow Library Example

[Get Sites with Imperva and Send Results Via Email](https://library.blinkops.com/workflows/get-sites-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-sites-with-imperva-and-send-results-via-email/canvas" />
</div>
