Skip to main content
GET
/
domains
List domains
curl --request GET \
  --url https://api.salesive.com/api/v1/domains \
  --header 'Authorization: Bearer <token>'
{
  "status": 200,
  "success": true,
  "message": "Domains retrieved",
  "data": [
    {
      "_id": "66b1f0a3c2d4e5f6a7b8c9d0",
      "domain": "mystore.salesive.shop",
      "shop": "6680aabbccddeeff00112200",
      "active": true,
      "isCustomDomain": false,
      "isDefaultDomain": true,
      "status": "active",
      "hasDNS": false,
      "canRenew": false,
      "expiresAt": null
    },
    {
      "_id": "66b1f0a3c2d4e5f6a7b8c9d1",
      "domain": "shop.example.com",
      "shop": "6680aabbccddeeff00112200",
      "active": true,
      "isCustomDomain": true,
      "isDefaultDomain": false,
      "status": "active",
      "hasDNS": true,
      "canRenew": true,
      "expiresAt": "2027-01-15T00:00:00.000Z"
    }
  ]
}
Returns the store’s domains (default subdomain plus custom domains); domains are read-only for apps. The store is bound to your app token server-side — never send a shop id.

Authorizations

Authorization
string
header
required

Installed-app access token (prefix app_), issued by the OAuth install flow. The store is bound to the token server-side — never send a shop id.

Response

The store's domains.

Standard Salesive response envelope. The operation-specific payload is carried in data.

status
integer
required

HTTP status code, echoed in the body.

success
boolean
required

Whether the request succeeded.

message
string
required

Human-readable result message.

data
object[]