clerk.create_organization_domain
Add a domain to a Clerk organization.
Call clerk.get_connected_accounts first. Pass clerk_instance_id to target a specific connection, or omit it to use the default account.
Returns the created domain summary.
Cost = 10 tokens.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Domain name to add (for example example.com). | |
| verified | No | Whether the domain is verified. Defaults to true when omitted. | |
| enrollment_mode | No | Filter or set enrollment mode: manual_invitation, automatic_invitation, or automatic_suggestion. | |
| organization_id | Yes | Clerk organization id (org_...) to operate on. | |
| clerk_instance_id | No | Clerk instance id (ins_...) from clerk.get_connected_accounts. Omit to use the default connected account. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | No | Created organization domain summary. |