Retrieve domain data from IT Glue.
Parameters:
- Return All: Whether to return all results or only up to a given limit (default: false)
- Limit: Maximum number of domains to return when "Return All" is disabled (default: 50, min: 1)
- Filters: Available filter options:
- Domain ID: Filter by specific domain ID
- Organization ID: Filter by organization ID
- Sort: Sort results by creation date or update date (ascending/descending)
The IT Glue domains API has limited filtering capabilities. Only the following filters are supported:
- Domain ID (exact match)
- Organization ID (exact match)
Note: Domain name filtering is NOT supported by the IT Glue API. To find domains by name, retrieve all domains and filter client-side.
Common errors you may encounter:
- 401 Unauthorized: Invalid API credentials
- 403 Forbidden: Insufficient permissions to access domain data
- 400 Bad Request: Invalid parameters or missing required fields
- 404 Not Found: Domain ID does not exist
- 429 Too Many Requests: Rate limit exceeded, retry with exponential backoff
When debugging issues:
- Check that domain records exist and are accessible
- Verify permissions for domain operations
- Ensure the IT Glue instance has domain records available
- Validate that any filtering parameters are correctly formatted
Returns domain data with details including domain name, organization relationships, DNS information, expiration dates, and other domain management details.
Returns a collection of domain records with pagination information and comprehensive domain details for DNS and domain management.