# List sites accessible to the current API token

**Publié le** : 2026-05-08
**Catégorie** : Settings & Config

## `GET /sites`

**List sites accessible to the current API token**

Returns the sites your API token can act on. A site-scoped token
returns one site; an organization-scoped token returns every site
in the organization (filtered to the subset declared in
`allowedSiteIds` if the token restricts scope).

Useful for verifying token validity and retrieving the site UUID,
domain, enabled locales, and other configuration before any
subsequent request.

### Responses

| Status | Description |
| --- | --- |
| `200` | Successful response |
| `401` | Unauthorized — invalid or missing API token |
| `403` | Forbidden — insufficient permissions |


### Examples

```bash
curl https://api.lynkow.com/v1/sites \
  -H "Authorization: Bearer $API_TOKEN"
```

### Response Example

```json
{
  "data": [
    {
      "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "name": "My Website",
      "domain": "www.example.com",
      "slug": "my-website",
      "isActive": true,
      "defaultLocale": "en",
      "enabledLocales": [
        "en",
        "fr"
      ],
      "createdAt": "2025-01-01T00:00:00.000Z"
    }
  ]
}
```

---