Domains
Add a domain
Registers a sending domain with the provider. Returns 201 with the bare row in status: "pending" plus the DNS records to publish. Once the records are live, call POST /v1/domains/{domainId}/verify until sendable: true.
post/v1/domains
Request
- Base URLhttps://brew.new/api
- Auth
- HTTP bearer
- or API key in header X-API-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Idempotency-Keystring
Optional idempotency key for safe retries. Reusing the same key with the same request body returns the original response for 24 hours.
Request body
Response
Added — publish the returned DNS records, then verify.
Changes
No recorded changes to this operation across all 1 revision of this API.