List sites accessible with your API token. Each API token is scoped to a single site, so this endpoint returns at most one site.
Use this to verify your token is valid and retrieve the site metadata (name, domain, locale settings).
1 endpoint
GET /sites
List accessible sites
Returns the site(s) your API token has access to. Since tokens are scoped to a single site, this typically returns one result.
Useful for verifying token validity and retrieving the site UUID, domain, enabled locales, and other configuration.
Responses
Status | Description |
|---|---|
| Successful response |
| Unauthorized — invalid or missing API token |
| Forbidden — insufficient permissions |
Examples
curl https://api.lynkow.com/v1/sites \
-H "Authorization: Bearer $API_TOKEN"Response Example
{
"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"
}
]
}