organizations

Create Active Organization Domain

Changed on

Claim an email domain for the caller's organization. Owners and admins only.

The claim lands unverified and does nothing until POST /me/domains/{id}/verify finds the record in verification_record published at the domain's apex. A public email provider is refused outright, and a domain another organization already claims answers 409 without saying who holds it.

post/api/v1/organizations/me/domains

Request

  • The document declares no server URL.
  • Auth: one of:
    • API key in header Otari-Key
    • API key in header x-api-key

Request body

default_role'member' | 'viewer'
domainstring required
enabledboolean

Response

Successful Response

created_atstring date-time required
default_rolestring
domainstring required
enabledboolean
idstring uuid required
organization_idstring uuid required
proof_expires_atstring date-time nullable
updated_atstring date-time nullable
verification_recordstring required
verified_atstring date-time nullable

Changes

    • info

      added the optional property to the response with the status

    • info

      api operation id create_active_organization_domain_api_v1_organizations_me_domains_post removed and replaced with organizations-create_active_organization_domain