Platform API
Public server endpoints for creating and launching Domain0 connections.
The hosted Platform API is intentionally narrow. It lets your server create and read a connection, then issue short-lived access for the browser flow.
Create connection
Create one connection for the application bound to your API key.
Get connection
Read the current state of an application-owned connection.
Issue browser token
Create exact-origin, connection-scoped browser access.
Base URL
https://domain0.dev/api/domain0Authentication
Send your server API key as x-api-key:
x-api-key: d0_your_keyNever authenticate from browser code
Use createDomain0PlatformClient() on your server. Issue a connection token
before opening the embedded browser flow.
SDK or HTTP
The TypeScript SDK validates inputs and responses with the same Zod contracts used to generate this reference. Direct HTTP calls remain available for other server languages.