# list_sites (/kya/reference/list-sites)



Use it to find a site's `id` or `key`.

## GET https://api.finic.ai/v1/kya/sites

Lists your organization's sites, oldest first, with each one's public key and origins. Deleted sites aren't listed.

Authorization: `Bearer <API key>` (see [Authentication](/authentication)).

### Responses

- **200**: The organization's sites.

| Field | Type | Always | Description |
| --- | --- | --- | --- |
| `sites` | array of object | yes | Your sites, oldest first. |
| `request_id` | string | yes | `req_…`, the same as the `X-Request-Id` header. |
| `sites[].id` | string | yes | The site's id, `kst_…`. |
| `sites[].name` | string | yes | Its name. Empty if none was given. |
| `sites[].key` | string | yes | Its public key, `gpk_…`: the `data-site` of the script tag. Not a secret. |
| `sites[].origins` | array of string | yes | The origins reports are taken from. Empty means any page. |
| `sites[].snippet` | string |  | The script tag to paste into your pages. Only when the site is created. |
| `sites[].created_at` | string | yes | When the site was created. |
| `sites[].request_id` | string |  | `req_…`, the same as the `X-Request-Id` header. |

```json
{
  "sites": [
    {
      "id": "kst_01M4Z1X3G5P8D2F6J0YA4SMQNC",
      "name": "Storefront",
      "key": "gpk_Zk3vQ8mT1xR7bN2cYw5LpA9d",
      "origins": [
        "https://www.example.com"
      ],
      "created_at": "2026-12-01T17:01:52.310447Z"
    }
  ],
  "request_id": "req_01M4Z2M1T6W9E3R7Y5VA8PKGHB"
}
```

- **401**: `authentication_error`: the API key is missing, unknown, revoked or expired.

- **429**: `rate_limited`: over KYA's [request rate](/kya/reference#limits) for the organization, 50 a second. Retry with backoff.
