OpenSend docs
Get Domain
Retrieve one domain, including verification status and DNS record metadata.
GET /domains/{id}
Compatibility note: GET /api/domains/{id} remains available for existing OpenSend integrations; new API clients should prefer the root compatibility path above. Browser dashboard navigation is preserved for page routes that share these names.
Authentication
Use an OpenSend API key in the Authorization header.
Authorization: Bearer os_YOUR_API_KEYDashboard session cookies are not API credentials.
Parameters
Path parameter id is the OpenSend domain UUID.
Response
Returns an OpenSend JSON response for the authenticated tenant. Error responses use OpenSend error envelopes and standard HTTP status codes.
Self-hosting notes
Self-hosted deployments can use the same path on their own OPENSEND_BASE_URL. Ensure middleware is enabled so API-like requests are routed to /api/domains/{id} while dashboard page requests continue to render normally.