Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: Domainee Projects API
version: 1.0.0
summary: Custom domains, domain registration, and DNS diagnostics for SaaS products.
description: 'Domainee lets your product attach your customers'' own domains to their accounts:
one call to connect a hostname, automatic SSL issuance and renewal, DNS health
monitoring, webhooks, and domain registration across 500+ TLDs.
## Authentication
Every `/v1` endpoint except `/v1/tools/*` takes a Bearer token in the
`Authorization` header. Two kinds work interchangeably:
- **API keys** (`sk_live_…`), created at https://domainee.dev/developers
- **OAuth access tokens** (`dmn_oat_…`), issued by the flow described in
the `/.well-known/oauth-authorization-server` document.
Both are workspace-scoped: a token only ever sees its own workspace''s data.
## Rate limits
Authenticated endpoints allow 60 requests per minute per key and answer `429`
with `{"error":"rate_limited"}` beyond that. The free tools are limited per IP
at 30/minute and 500/day.
## Idempotency
Send an `Idempotency-Key` header on any POST to make a retry safe: the first
response for a given key is replayed instead of performing the work twice.
## Errors
Failures return the same envelope at every status code:
`{ "error": "not_found", "message": "Domain not found" }`.
Full guides: https://domainee.dev/docs. Machine-readable index: https://domainee.dev/llms.txt.'
termsOfService: https://domainee.dev/terms
contact:
name: Domainee support
email: hello@domainee.dev
url: https://domainee.dev/contact
servers:
- url: https://api.domainee.dev
description: Production
security:
- bearerAuth: []
tags:
- name: Projects
description: Generic workspace-scoped objects.
paths:
/v1/projects:
get:
operationId: listProjects
summary: List projects
tags:
- Projects
responses:
'200':
description: The workspace's projects, newest first.
content:
application/json:
schema:
type: object
properties:
projects:
type: array
items:
$ref: '#/components/schemas/Project'
required:
- projects
'401':
$ref: '#/components/responses/Unauthorized'
post:
operationId: createProject
summary: Create a project
tags:
- Projects
parameters:
- $ref: '#/components/parameters/IdempotencyKey'
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
title:
type: string
minLength: 1
maxLength: 200
description:
type: string
maxLength: 2000
required:
- title
responses:
'201':
description: Project created.
content:
application/json:
schema:
type: object
properties:
project:
$ref: '#/components/schemas/Project'
required:
- project
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
/v1/projects/{id}:
parameters:
- name: id
in: path
required: true
description: Project identifier.
schema:
type: string
get:
operationId: getProject
summary: Retrieve one project
tags:
- Projects
responses:
'200':
description: The project.
content:
application/json:
schema:
type: object
properties:
project:
$ref: '#/components/schemas/Project'
required:
- project
'401':
$ref: '#/components/responses/Unauthorized'
'404':
$ref: '#/components/responses/NotFound'
components:
schemas:
Project:
type: object
properties:
id:
type: string
workspaceId:
type: string
createdBy:
type: string
description: '`apikey:<id>` when created through the API.'
title:
type: string
description:
type: string
status:
type: string
enum:
- draft
- active
- archived
createdAt:
type: string
format: date-time
updatedAt:
type: string
format: date-time
required:
- id
- workspaceId
- title
- status
Error:
type: object
description: The error envelope used by every authenticated endpoint.
properties:
error:
type: string
description: Stable machine-readable code.
example: not_found
message:
type: string
description: Human-readable explanation.
required:
- error
- message
responses:
NotFound:
description: No such object in this workspace.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
Unauthorized:
description: Missing, malformed, revoked, or expired Bearer token.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
BadRequest:
description: The request body or query failed validation.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
parameters:
IdempotencyKey:
name: Idempotency-Key
in: header
required: false
description: Any unique string. Retrying with the same key replays the first response instead of repeating the work.
schema:
type: string
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: An API key (`sk_live_…`) from https://domainee.dev/developers or an OAuth access token (`dmn_oat_…`). Both are workspace-scoped.
externalDocs:
description: Domainee documentation
url: https://domainee.dev/docs