---
title: "Retrieves basic details about the website that owns the provided API key or OAuth token"
method: GET
path: "/1.0/authorization/website"
tags: ["Websites"]
---

# Retrieves basic details about the website that owns the provided API key or OAuth token

`GET /1.0/authorization/website`

## Request

- Base URL: `https://api.squarespace.com`
- URL: `https://api.squarespace.com/1.0/authorization/website`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/squarespace/apis/commerce-api/docs/1.0/authorization/website/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieves basic details about the website that owns the provided API key or OAuth token

## Headers

- `Authorization` string, required
- `User-Agent` string, required

## Response `200`

OK

- WebsiteProfile
  - `currency` string
  - `id` string
  - `language` string
  - `location` Location
    - `country` string
    - `region` string
  - `measurementStandard` 'IMPERIAL' | 'METRIC'
  - `siteId` string
  - `timeZone` string
  - `title` string
  - `url` string

## Other responses

- `404`: Not found. The API version is not supported.

---

[API](https://skmtc.dev/squarespace/apis/commerce-api.md) - [All operations](https://skmtc.dev/squarespace/apis/commerce-api/llms.txt) - [OpenAPI document](https://skmtc.dev/squarespace/apis/commerce-api/revisions/5dd4b1b7cd38?raw)
