GET
/api/public/v1/domains/{domainId}

Get a domain

Retrieve a domain with assigned businesses and email status.

Path Parameters

NameTypeRequiredDescription
domainIdstring
Required
Domain ID.
GETExample request
curl
curl -X GET "https://www.pxb.app/api/public/v1/domains/{domainId}" \
  -H "X-Organization-Id: your_org_id" \
  -H "X-API-Key: your_api_key"
200Example response
json
{
  "message": "Domain retrieved successfully!",
  "content": {
    "domain": {
      "id": "dom_123",
      "name": "example.com",
      "emailEnabled": true,
      "emailStatus": "verified",
      "emailAddresses": [],
      "assignedBusinesses": []
    }
  }
}