Skip to content

ButterIX v1 is out: versions, multiple languages, Ask AI, and a per-site MCP server, all built in. →

Verify domain

POSThttps://api.butterix.com/v1/sites/:site/domains/:domain/verify

Looks up the TXT record of _butterix.<domain>. When it matches, the domain is marked verified and starts pointing to the site, and the platform then issues an HTTPS certificate from Let's Encrypt automatically.

Authentication

AuthorizationBearer

An organization API key, created in the console under Organization settings → API Keys, starting with biti_. It acts as editor and can't do anything that requires admin.

biti_sessionstring

The HttpOnly session cookie set on login. Requests that change data must be same-origin (the Origin header is checked) to prevent CSRF.

Path parameters

sitestringRequired

Site slug or id

domainstringRequired

Response

Verification result
domainstringOptional
verifiedbooleanOptional
primarybooleanOptional

Whether this is the primary domain

verifyRecordobjectOptional

TXT record to add

type"TXT"Optional
namestringOptional
valuestringOptional
cnamestringOptional

CNAME target

createdAtintegerOptional
checkedtrueOptional
Allowed values: