Get a domain
https://anjal.app/v1/domains/{domain}Path parameters
domainrequired string | Fully-qualified domain name |
Responses
idstring | format: uuid |
domainstring | |
status"pending" | "verified" | "failed" | enum: "pending" | "verified" | "failed" |
workspaceIdstring | format: uuid |
dnsRecordsobject[] | |
type"TXT" | "CNAME" | "MX" | "A" | enum: "TXT" | "CNAME" | "MX" | "A" |
namestring | |
valuestring | |
priorityinteger | |
status"pending" | "verified" | enum: "pending" | "verified" |
notestring | Extra instructions for this record. On a shared domain the SPF record is merged into your existing one, and the note says to replace the existing record (a domain must have only one SPF record). |
sharedWith"google" | "microsoft" | "other" | null | Set when the domain's main mail stays at another provider (Google Workspace, Microsoft 365 or other) and Anjal mailboxes live alongside it. Null for a domain whose MX points at Anjal. enum: "google" | "microsoft" | "other" | null |
routingStepsstring[] | Present only for shared domains. Steps for the provider's admin console so it passes mail for addresses it doesn't know on to Anjal. |
createdAtstring | format: date-time |
updatedAtstring | format: date-time |
Authentication
Send your API key in the X-API-Key header (or Authorization: Bearer <key>). Any prefix accepted by this endpoint — tk_, wk_, ak_, or sa_ — is documented in the key prefix table.