# Read the site config

> Needs a `site:read` token.

```json
{
  "/api/v1/site-config": {
    "get": {
      "operationId": "getSiteConfig",
      "tags": [
        "Site config"
      ],
      "summary": "Read the site config",
      "description": "Needs a `site:read` token.",
      "security": [
        {
          "bearerAuth": []
        }
      ],
      "responses": {
        "200": {
          "description": "The stored site, as the dashboard exports it.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SiteConfig"
              }
            }
          }
        },
        "401": {
          "description": "Missing, unknown, revoked or expired token.",
          "content": {
            "application/problem+json": {
              "schema": {
                "$ref": "#/components/schemas/Problem"
              }
            }
          }
        },
        "403": {
          "description": "The token's scope does not allow this request.",
          "content": {
            "application/problem+json": {
              "schema": {
                "$ref": "#/components/schemas/Problem"
              }
            }
          }
        }
      }
    }
  }
}
```
