Retrieve a sending domain
GET/v1/sending-domains/{id}
Requires an API key with the domains:read scope. About keys and scopes
Works with integration, agent and partner keys.
Returns one domain, its status, and the DNS records it expects with whether each was found.
Path parameters
idstringrequiredThe sending domain's id.
uuid
Header parameters
Kirora-WorkspacestringoptionalPartner keys only: the child workspace to act in, by the external id the partner gave it. Without it, a partner key acts in its own workspace. Any other key that sends it is refused with 403, and an unknown workspace is 404.
pattern
^[A-Za-z0-9._:-]{1,128}$
Returns
Returns 200 OK with a SendingDomain in data. Otherwise returns an error; Errors lists every code and which to retry.
idstringrequireduuid
domainstringrequiredstatusstringrequiredWhether the domain can send:
pendinguntil its DNS records are all found;awaiting_review, you own it but a person at Kirora has not cleared it to send yet, and it is set up the moment they do (reviewsays more);verified, it can send;verification_lost, it was verified but a record has since gone missing, and nothing sends from it until the record is back;failed, seefailureReason;quarantined, the domain is already set up by another account, so nothing sends from it until Kirora support reviews it.one of
pending,awaiting_review,verified,verification_lost,failed,quarantinedfailureReasonstring | nullrequiredWhy verification failed, when it has.
lastCheckedAtstring | nullrequiredWhen DNS was last checked.
date-time
dnsRecordsSendingDomainDnsRecord[]requiredThe records to publish at your DNS host, the ownership record first.
7 child attributes
purposestringrequiredownership: proves you control the domain, and holds the key that signs its mail;dkim: another signing key record;mailFrom: thebounce.subdomain that receives bounces and aligns SPF.one of
ownership,dkim,mailFromtypestringrequiredone of
CNAME,TXT,MXnamestringrequiredThe full hostname to publish the record at.
hoststringrequiredThe name without the registered domain, which most DNS hosts ask for, since they add the domain themselves:
sel._domainkeyforsel._domainkey.example.com,@for the domain itself.valuestringrequiredWhat the record must contain.
matchesbooleanrequiredWhether the last check found the record as given.
reasonstring | nullrequiredWhy it does not match, such as what DNS holds there; null when it does.
checksobjectrequiredEach check's state, for showing progress;
statusis what decides.5 child attributes
ownershipstringrequiredWhether proof that you control the domain has been found in DNS.
one of
pending,verifieddkimstringrequiredThe DKIM signing records.
one of
pending,verified,failedmailFromstringrequiredThe
bounce.(MAIL FROM) records.one of
pending,verified,faileddmarcobject | nullrequiredThe DMARC record covering the domain, which marketing email needs; null before the first check.
4 child attributes
statusstringrequiredWhether a usable DMARC record was found.
one of
valid,missing,invalid,unknownpolicystring | nullrequiredThe policy the DMARC record sets.
one of
none,quarantine,rejectpolicyDomainstring | nullrequiredThe domain the DMARC record was found on.
inheritedbooleanrequiredTrue when the record is the parent domain's, not the domain's own.
bimiobject | nullrequiredBIMI, for the brand's logo beside its email: guidance, never a requirement. Mailboxes show it only with DMARC at
quarantineorreject. Null until a check reads it.3 child attributes
statusstringrequiredWhether
default._bimi.<domain>holds a BIMI record.one of
present,missing,unknownlogoUrlstring | nullrequiredIts logo (
l=): an SVG Tiny PS file over HTTPS.certificateUrlstring | nullrequiredIts mark certificate (
a=, a VMC or CMC), which Gmail and Apple Mail need before showing the logo; Yahoo can show it without one.
reviewobjectrequiredIts sending review (
SENDING_REVIEW_REQUIRED).2 child attributes
statusstringrequiredWhether a person at Kirora has cleared the domain to send; until then it has no provider identity (
statusisawaiting_reviewonce you own it), and nothing sends from it, not even a test.not_requested: proven yours, waiting for the workspace's sending profile (website, what it sends, how contacts agreed), which asks for review once filled in.in_review: waiting for a person, usually within a day. A subdomain of an approved domain is approved when proven.one of
not_requested,in_review,approved,declineddeclineReasonstring | nullrequiredWhy it was declined; null unless
declined.
createdAtstringrequireddate-time
updatedAtstringrequireddate-time