Press / to search

All documentation
docs Call it from your software Custom domains

Runs onWrit Cloud

dns ▸ your own host

Your endpoints, your host.

Serve your published endpoints from your own domain, with DNS verification and automatic TLS. The routing stays /v1/{slug}/{path}, and your callers keep the same csk_ consumer keys.

Writ runs on your own accounts, with your own credentials and data, on sites you are authorized to use.

host ▸ the only change

Only the host changes.

Before

https://api.usewrit.app/v1/acme/price-check

After

https://api.yourcompany.com/v1/acme/price-check

The route stays /v1/{slug}/{path} and auth stays the caller’s csk_ consumer key. Callers change the base URL — nothing else.

The gateway resolves your tenant per request from the Host header: a verified custom domain, the built-in {slug}.api.usewrit.app subdomain, or the shared host with the slug in the path. All three answer the same routes.

setup ▸ four steps

Four steps to a branded host.

  1. 01
    Add your domain

    Enter the host you want to serve endpoints from, e.g. api.yourcompany.com.

  2. 02
    Add the DNS records

    Create the CNAME and TXT records Writ shows you in your DNS provider.

  3. 03
    Verify ownership

    Writ checks the TXT record and confirms the domain is yours.

  4. 04
    TLS goes live

    A certificate is issued automatically and traffic starts flowing.

zone.txt · dns
; Verify ownership and route traffic to Writ
api.yourcompany.com.              CNAME  endpoints.usewrit.app.
_writ-verify.api.yourcompany.com. TXT    "writ-verify-3f9Kq2xR7mVzT1pLbN8wYc4AeJ6dHs0U"

Add both records in your DNS provider. The CNAME routes traffic; the TXT proves ownership once.

faq

Questions, answered.

How do I verify a domain?
Add the CNAME and TXT records Writ gives you to your DNS, then click verify. Writ confirms ownership and provisions TLS automatically. The domain then serves your endpoints over HTTPS.
Does anything else change?
No. The routing stays /v1/{slug}/{path}, and callers keep authenticating with the same csk_ consumer keys. Only the host changes — from api.usewrit.app to api.yourcompany.com.
Which plans include custom domains?
Custom branded domains are included on Growth and above. See pricing for the current breakdown.
Is this required to expose an API?
No. Your endpoints are live on the shared host the moment you publish them, and every tenant already has its {slug}.api.usewrit.app subdomain. A custom domain is for branding and a cleaner consumer experience. Writ runs on your own accounts, with your own credentials and data, on sites you are authorized to use.

go ▸ brand it

Serve from your own domain.

Add a host, drop in two DNS records, and ship endpoints under your brand.