All endpoints

Get a domain

GEThttps://anjal.app/v1/domains/{domain}

Path parameters

domain
required
string

Fully-qualified domain name

Responses

200application/jsonOK
id
string

format: uuid

domain
string
status
"pending" | "verified" | "failed"

enum: "pending" | "verified" | "failed"

workspaceId
string

format: uuid

dnsRecords
object[]
type
"TXT" | "CNAME" | "MX" | "A"

enum: "TXT" | "CNAME" | "MX" | "A"

name
string
value
string
priority
integer
status
"pending" | "verified"

enum: "pending" | "verified"

note
string

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

routingSteps
string[]

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.

createdAt
string

format: date-time

updatedAt
string

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.