Skip to main content
GET
/
api
/
v1
/
hub
/
shop
/
{shopId}
/
domains
List Domains
curl --request GET \
  --url https://api.getscale.ng/api/v1/hub/shop/{shopId}/domains \
  --header 'X-Shop-API-Key: <x-shop-api-key>'
{
  "status": "success",
  "data": [
    {
      "id": 1,
      "domain": "myshop.getscale.ng",
      "type": "subdomain",
      "isPrimary": true,
      "isActive": true
    }
  ]
}
Retrieves all registered subdomains and custom domains linked to the storefront, indicating active and primary state configurations.

Authorizations

X-Shop-API-Key
string
required
Your Secret API Key (sk_live_... or sk_test_...) generated from the Developer dashboard. Must be kept secret.

Path Parameters

shopId
string
required
The unique UUID of the shop.
{
  "status": "success",
  "data": [
    {
      "id": 1,
      "domain": "myshop.getscale.ng",
      "type": "subdomain",
      "isPrimary": true,
      "isActive": true
    }
  ]
}