Skip to content
Console
Menu

Queues

Workflows

Getting Started

Authentication

KV Store

Email domains

An Email Domain is an email domain a customer organization claims.

An Email Domain is an email domain a customer organization claims. It is verified by a DNS TXT record; a verified domain appears in the organization's verified_domains, and one environment's organizations never verify the same domain twice.

Service Sylphx Auth · Resource type auth.sylphx.com/EmailDomain · Name pattern orgs/{org}/projects/{project}/envs/{env}/customer_organizations/{customer_organization}/email_domains/{email_domain} · Shape record

#Fields

FieldTypeWhat it is
namestringorgs/{org}/projects/{project}/envs/{env}/customer_organizations/{customer_organization}/email_domains/{email_domain}.
uidstringdom_<cell><ulid>; never reused. Output only.
metaResourceMetaResource metadata.
domainstringThe domain, lowercase, for example acme.com. Required.
stateEmailDomainStateThe verification state. Output only. One of pending, verified.
verification_recordstringThe TXT record name to publish, _sylphx-verification.<domain>. Output only.
verification_valuestringThe TXT record value to publish. Output only.
verify_timetimestampWhen the record was last found. Output only.

#Methods

Every method of the collection, in the registry's order, with the scope it needs. The full request, response and examples are one link away.

MethodCallWhat it does
GETgetGets an email domain.
GETlistLists email domains.
POSTcreateCreates an email domain; the answer names the TXT record to publish.
DELETEdeleteDeletes an email domain.
POSTverifyLooks up the domain's TXT record now; found, the domain is verified.

#get

Gets an email domain.

GET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/customer_organizations/customer-organization/email_domains/email-domain · scope auth:read · effect read · Request, response and examples

#list

Lists email domains.

GET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/customer_organizations/customer-organization/email_domains · scope auth:read · effect read · paginated · Request, response and examples

#create

Creates an email domain; the answer names the TXT record to publish.

POST https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/customer_organizations/customer-organization/email_domains · scope auth:write · effect write · Request, response and examples

#delete

Deletes an email domain.

DELETE https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/customer_organizations/customer-organization/email_domains/email-domain · scope auth:write · effect destructive · Request, response and examples

#verify

Looks up the domain's TXT record now; found, the domain is verified.

POST https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/customer_organizations/customer-organization/email_domains/email-domain:verify · scope auth:write · effect write · Request, response and examples