# The Backend OrganizationDomain object

The `OrganizationDomain` object is the model around an Organization's [Verified Domain](https://clerk.com/docs/guides/organizations/add-members/verified-domains.md).

## Properties

| Property                                                       | Type                                                                                                        | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| -------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <a id="affiliationemailaddress"></a> `affiliationEmailAddress` | `null | string`                                                                                  | The email address used to verify the domain.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| <a id="createdat"></a> `createdAt`                             | `number`                                                                                                    | The Unix timestamp when the domain was created.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| <a id="enrollmentmode"></a> `enrollmentMode`                   | `"manual_invitation" | "automatic_invitation" | "automatic_suggestion"`                          | The enrollment mode that determines how matching users are added to the Organization. <ul> <li>`manual_invitation`: No automatic enrollment. Users with a matching email domain are not given any <a href="https://clerk.com/docs/guides/organizations/add-members/verified-domains.md#automatic-invitations">invitation</a> or <a href="https://clerk.com/docs/guides/organizations/add-members/verified-domains.md#automatic-suggestions">suggestion</a>; an <a href="https://clerk.com/docs/guides/organizations/control-access/roles-and-permissions.md#default-roles">admin</a> must invite them manually.</li> <li>`automatic_invitation`: Users with a matching email domain automatically receive a pending <a href="https://clerk.com/docs/reference/types/organization-invitation.md">invitation</a> (assigned the Organization's default role) which they can accept to join.</li> <li>`automatic_suggestion`: Users with a matching email domain automatically receive a <a href="https://clerk.com/docs/guides/organizations/add-members/verified-domains.md#automatic-suggestions">suggestion</a> to join, which they can request.</li> </ul> |
| <a id="id"></a> `id`                                           | `string`                                                                                                    | The unique identifier of the domain.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| <a id="name"></a> `name`                                       | `string`                                                                                                    | The name of the domain.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| <a id="organizationid"></a> `organizationId`                   | `string`                                                                                                    | The ID of the Organization that the domain belongs to.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| <a id="totalpendinginvitations"></a> `totalPendingInvitations` | `number`                                                                                                    | The total number of pending invitations for the domain.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| <a id="totalpendingsuggestions"></a> `totalPendingSuggestions` | `number`                                                                                                    | The total number of pending suggestions for the domain.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| <a id="updatedat"></a> `updatedAt`                             | `number`                                                                                                    | The Unix timestamp when the domain was last updated.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| <a id="verification"></a> `verification`                       | `null | { attempts: null | number; expireAt: null | number; status: string; strategy: string; }` | The verification details of the domain.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| `verification.attempts`                                        | `null | number`                                                                                  | The number of verification attempts that have been made.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| `verification.expireAt`                                        | `null | number`                                                                                  | The Unix timestamp when the current verification attempt expires.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| `verification.status`                                          | `string`                                                                                                    | The current status of the verification.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| `verification.strategy`                                        | `string`                                                                                                    | The strategy used to verify the domain.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |

---

## Sitemap

[Overview of all docs pages](https://clerk.com/docs/llms.txt)
