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 Webhooks 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: Webhooks
description: Subscribe to domain lifecycle events.
paths:
/v1/webhook-endpoints:
get:
operationId: listWebhookEndpoints
summary: List webhook endpoints
description: Signing secrets are omitted here; they are shown once, at creation.
tags:
- Webhooks
responses:
'200':
description: The workspace's endpoints.
content:
application/json:
schema:
type: object
properties:
endpoints:
type: array
items:
$ref: '#/components/schemas/WebhookEndpoint'
required:
- endpoints
'401':
$ref: '#/components/responses/Unauthorized'
post:
operationId: createWebhookEndpoint
summary: Create a webhook endpoint
description: The response contains the signing secret. It is returned exactly once, so store it now.
tags:
- Webhooks
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
url:
type: string
format: uri
description: Where Domainee POSTs the event.
example: https://acme.com/hooks/domainee
events:
type: array
description: Events to receive. An empty array subscribes to none.
items:
type: string
enum:
- domain.created
- domain.verified
- domain.failed
- domain.expired
- domain.deleted
- domain.monitor_updated
default: []
required:
- url
responses:
'201':
description: Endpoint created.
content:
application/json:
schema:
type: object
properties:
endpoint:
$ref: '#/components/schemas/WebhookEndpoint'
secret:
type: string
description: HMAC signing secret. Shown only in this response.
required:
- endpoint
- secret
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
/v1/webhook-endpoints/{id}:
parameters:
- name: id
in: path
required: true
description: Webhook endpoint identifier.
schema:
type: string
delete:
operationId: deleteWebhookEndpoint
summary: Delete a webhook endpoint
tags:
- Webhooks
responses:
'200':
$ref: '#/components/responses/Deleted'
'401':
$ref: '#/components/responses/Unauthorized'
'404':
$ref: '#/components/responses/NotFound'
components:
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'
Deleted:
description: Deleted.
content:
application/json:
schema:
type: object
properties:
deleted:
type: boolean
required:
- deleted
BadRequest:
description: The request body or query failed validation.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
schemas:
WebhookEndpoint:
type: object
properties:
id:
type: string
workspaceId:
type: string
url:
type: string
format: uri
events:
type: array
items:
type: string
enum:
- domain.created
- domain.verified
- domain.failed
- domain.expired
- domain.deleted
- domain.monitor_updated
enabled:
type: boolean
createdAt:
type: string
format: date-time
required:
- id
- url
- events
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
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