# Add organization JIT email domain **POST /api/organizations/{id}/jit/email-domains** Add a new email domain for just-in-time provisioning of users in the organization. ## Servers - Logto endpoint address.: https://[tenant_id].logto.app (Logto endpoint address.) ## Authentication methods - O auth2 ## Parameters #### Path parameters - **id** (string) The unique identifier of the organization. ## Body parameters Content-type: application/json - **emailDomain** (string) The email domain to add. ## Responses ### 201: The email domain was added successfully. #### Body Parameters: application/json (object) - **tenantId** (string) - **organizationId** (string) - **emailDomain** (string) ### 400: Bad Request ### 401: Unauthorized ### 403: Forbidden ### 422: The email domain is already in use. [Powered by Bump.sh](https://bump.sh)