Skip to main content
GET
cURL
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