ApiResourcesStore settings

List custom domains

List custom-domain status and DNS verification records for the current store.

GET
/v2/store/custom-domains

Authorization

bearerAuth storeAuth
AuthorizationBearer <token>

Provide your SellApp API key as a bearer token.

In: header

X-STORE<token>

Select the SellApp store for this API request.

In: header

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://sell.app/api/v2/store/custom-domains"
{
  "data": [
    {
      "id": 0,
      "domain": "example.com",
      "status": "pending",
      "hostname_status": "string",
      "ssl_status": "string",
      "ownership_verification": {},
      "ssl_validation_records": [
        {}
      ],
      "cname_target": "example.com",
      "last_checked_at": "2019-08-24T14:15:22Z",
      "verified_at": "2019-08-24T14:15:22Z"
    }
  ]
}
{
  "message": "Unauthenticated."
}
{
  "message": "This action is unauthorized."
}
{
  "message": "The given data was invalid.",
  "errors": {
    "data": [
      "The data field is required."
    ]
  }
}