Skip to main content
GET
/
v2
/
sites
cURL
curl --request GET \
  --url https://api.loyaltylion.com/v2/sites \
  --header 'Authorization: Bearer <token>'
{
  "sites": [
    {
      "id": 123,
      "program_id": 123,
      "account_id": 123,
      "name": "Luna's Bubble Tea Superstore",
      "url": "https://bubbles.example.com",
      "platform": "shopify",
      "currencies": [
        "usd"
      ],
      "languages": [
        "en",
        "en-gb",
        "fr"
      ],
      "created_at": "2025-03-03T00:00:00.000Z",
      "updated_at": "2026-03-01T12:00:00.000Z"
    }
  ]
}
Return a list of sites that belong to the authenticating program. This endpoint cannot be called using legacy token & secret authentication. For multi-site programs, a list of all sites within the program will be returned, in order of creation (newest first). For single-site programs, a list with a single site will be returned. Any of the returned sites[].id fields can be used to interact with the Headless API.

Authorizations

Authorization
string
header
required

An API key linked to a Program in LoyaltyLion, with a set of permissions (scopes). API keys can be created manually, or acquired through an OAuth2 flow. The API key should be provided as a Bearer token in the Authorization header

Response

200

sites
object[]
required