Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Retrieve a site

Returns a single site by its identifier.

get
/sites/{id}/
Authorizations
AuthorizationstringRequired

Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.

Path parameters
idintegerRequired

The unique identifier of the site.

Responses
200

The requested site.

application/json

A site registered on the installation — a domain name together with the display name it is known by.

pkintegerRead-onlyOptional

Identifier of the site, assigned when it is registered.

namestring · max: 50Optional

Display name of the site.

domainstring · max: 100Optional

Domain name the site is served on.

get/sites/{id}/
GET /api/v1/remote/1/sites/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
  "pk": 1,
  "name": "Example Store",
  "domain": "www.example.com"
}

Last updated

Was this helpful?