Skip to main content

Methods

Get

Retrieves a domain object by ID.

GetWithContext

Retrieves a domain object by ID with context support.

Parameters

string
required
The unique identifier of the domain to retrieve

Response

Domain

string
The unique identifier for the domain
string
Object type (“domain”)
string
The domain name
string
Timestamp when the domain was created
string
The verification status of the domain
string
The region where emails are sent from
[]Record
DNS records for domain verification. Each record contains:
  • record (string): Record identifier
  • name (string): DNS record name
  • type (string): Record type (TXT, MX, CNAME)
  • ttl (string): Time to live
  • status (string): Verification status
  • value (string): Record value
  • priority (json.Number, optional): Priority for MX records

Example

Example with Context