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

# List Customer Sites

Get a list of all sites of a customer by its ID.

<Note>
  External Documentation

  To learn more, visit the [N-able N-Central documentation](https://developer.n-able.com/n-central/reference/listsites_1).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter        | Description                                                                                                                                                                                                                                                                                                                                                                           |
  | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Customer ID      | The ID of the customer. Can be obtained by using the `List Customers` action.                                                                                                                                                                                                                                                                                                         |
  | Page Number      | The page number to retrieve, counting from `1`.                                                                                                                                                                                                                                                                                                                                       |
  | Page Size        | The maximum number of items to retrieve per page. Set to `-1` to retrieve all items.                                                                                                                                                                                                                                                                                                  |
  | Return All Pages | Automatically fetch all resources, page by page.                                                                                                                                                                                                                                                                                                                                      |
  | Select           | A filter expression to filter results by in the format of `{property} {operator} {value}`.<br /><br />**For example**:<br />- `name == 'My Resource'` - retrieve all resources with a name of `My Resource`.<br />- `name != 'My Resource'` - retrieve all resources with a name that is not `My Resource`.<br />- `id > 100` - retrieve all resources with an ID greater than `100`. |
  | Sort By          | A property name to sort the results by.                                                                                                                                                                                                                                                                                                                                               |
  | Sort Order       | The order to sort the results by.                                                                                                                                                                                                                                                                                                                                                     |
</div>

## Example Output

```json theme={"dark"}
{
	"data": [
		{
			"siteId": "100",
			"siteName": "N-able",
			"orgUnitType": "SO",
			"parentId": "50",
			"externalId": "extId",
			"externalId2": "extId2",
			"phone": "phone",
			"contactTitle": "contact title",
			"contactFirstName": "contact first name",
			"contactLastName": "contact last name",
			"contactEmail": "contact@email.com",
			"contactPhone": "(123)456-7890",
			"contactPhoneExt": null,
			"contactDepartment": "Support",
			"street1": "One Street",
			"street2": "",
			"city": "Ottawa",
			"stateProv": "Ontario",
			"country": "CA",
			"county": null,
			"postalCode": "A1A 1A1"
		}
	],
	"totalItems": 0
}
```

## Workflow Library Example

[List Customer Sites with N Able N Central and Send Results Via Email](https://library.blinkops.com/workflows/list-customer-sites-with-n-able-n-central-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/list-customer-sites-with-n-able-n-central-and-send-results-via-email/canvas" />
</div>
