Domains
Mint a browser-safe token for the embeddable widget.
Returns a short-lived token scoped to this one domain, safe to hand to a browser. Call it from your server with your API key, then pass the token to Domainee.mount(). The token can only read the domain, read its connect instructions, force a DNS check, and apply records with a customer-supplied DNS token; everything else returns 403, including other domains and minting another session. Tokens are signed rather than stored, so they cannot be revoked before expiry: keep ttlSeconds short. Default 3600, maximum 86400. Never send an sk_live_ key to a browser.
post/v1/domains/{id}/connect-session
Request
- Base URL: https://api.domainee.dev
- URL: https://api.domainee.dev/v1/domains/{id}/connect-session
- Auth: HTTP bearer
Request body
Response
A scoped, short-lived widget token.
Changes
No recorded changes to this operation across all 1 revision of this API.