Skip to main content
Domains let you put a Crevio Site on your own custom address — search for an available name, buy it, attach it to a site, and verify it, or connect a domain you already own. A freshly built Site lives at https://<subdomain>.crevio.app. The Domains API is how you move it to https://yourbrand.com. You can just ask Crevio to find and buy a name, or drive the full flow yourself: search → purchase → assign → verify. Connecting an existing domain skips the purchase step. Domains carry their own resource ID, returned by the purchase and connect calls.

The flow at a glance

1

Search for a buyable domain

GET /domains/search returns available names and prices.
2

Purchase it

POST /domains/purchase registers the domain to your account.
3

Assign it to a site

POST /domains/{id}/assign points the domain at one of your sites.
4

Verify DNS

POST /domains/{id}/verify confirms DNS is configured and goes live.

Worked example: buy a domain and attach it to a site

1. Search for an available domain

The result lists available names with prices so you can pick one to buy.

2. Purchase it

domain is required.
This returns the domain’s resource ID, which you’ll use in the next steps.

3. Assign it to a site

Point the domain at the site you want it to serve. Pass the target site as site (required).

4. Verify

Verification confirms DNS is pointed correctly and brings the domain live. For domains bought through Crevio, DNS is managed for you; for connected domains, verification checks the records you added (see below).
Verification can take time to propagate. If it doesn’t pass immediately, the platform re-checks in the background, so a verify that returns “pending” will often resolve on its own.

Connect a domain you already own

If you registered a domain elsewhere, connect it instead of purchasing. Crevio gives you the DNS records to add at your registrar, then you verify.
FieldPurpose
domainThe domain (or subdomain) to connect — required
siteThe site to attach it to — optional, defaults to your account’s site
setup_emailtrue to also configure email DNS for the domain
If you don’t pass site here, assign it to a site afterward; then verify exactly as above.

DNS zone management

For domains Crevio manages, you can read and edit DNS records directly — add an MX record for email, a TXT record for verification, or a CNAME for a subdomain.
Use GET /domains/{id}/dns-records to see everything currently resolving (including platform-managed records), and GET /domains/{id}/zone-records for the records you can edit.

Next steps

Sites

Build the site you’ll attach this domain to.

Email

Verify a sending domain so email comes from your address.

API reference

Every domain endpoint and parameter.

Usage & credits

How domain registration is billed.