Domains
Create a domain
Connect a custom domain to the workspace bound to your API key and receive its DNS records.
POST
Create a domain
Connect a domain you already own to the workspace bound to your API key. This
endpoint does not buy or register a domain.
For an apex host such as
Authentication and permission
Use a workspace API key with Custom domains: Write (custom_domains.create). Do not send a workspace ID; the key determines it.
The workspace plan must also include custom domains.
Biqli rejects its own application domain, malformed hosts, unsafe or
blacklisted hosts, and domains claimed by another account. Unknown fields and
internal numeric IDs are not accepted.
Successful response
A new claim returns201 Created. Add every record exactly as returned:
example.com, the routing record is an A record
whose name is @. Subdomains use a CNAME. The TXT record proves ownership.
Use the returned values rather than assuming a target.
Biqli also sends the domain owner a professional setup email containing these
records for a brand-new claim. It does not send that email again when an
already-owned domain is attached to another workspace.
Idempotent attachment
If the same API-key owner already owns the host, Biqli safely attaches it to the current workspace and returns200 OK. created is false; attached is
true only when this call created a new workspace attachment. Its existing DNS
verification and SSL state are preserved.
Next steps
- Publish both records from
dns_configat your DNS provider. - Use Retrieve DNS configuration whenever you need the exact values again.
- Call Verify a domain after DNS propagation.
- Wait until the returned domain has
status: activebefore using it for production links.
Errors
Every error includes a
request_id, also returned in X-Biq-Request-Id.
Shared API behavior
Authentication is workspace-scoped; see Authentication. Errors use the standard envelope and request IDs described in Errors, and requests are subject to Rate limits.Authorizations
A workspace API key beginning with biqli_.
Body
application/json
Maximum string length:
100Example:
"go.example.com"

