# Article Name 3 Ways to Invite Users to Your OpenAI Organization # Article Summary Discover three ways to invite users to your OpenAI organization and pick the right method for your team's access needs today # Original HTML URL on Toriihq.com https://www.toriihq.com/articles/how-to-invite-user-to-organization-openai # Details Managing access to an OpenAI organization can feel tricky when you need to balance security, roles, and day-to-day work. This guide shows three ways to invite users so you can match invites to your team's access needs. We'll compare email invites, SSO or provisioning, and role-based API key sharing, with practical steps and guidance to choose what's right for your workflow and risk profile. ## Use OpenAI's UI Here, you'll use the OpenAI web UI to invite someone into your organization. These steps follow the flow described in OpenAI's docs for managing organization members. ### Open your organization settings - Sign in to the OpenAI web app. - Click your profile or organization name (usually top-right) and choose the option for organization settings, manage organization, or similar. ### Open the members or team page - In organization settings, find the page labeled "Members", "People", or "Team". - This page lists current members and any pending invites. ### Create the invite - Click the button labeled "Invite", "Invite member", or "Invite people". - Enter the person's email address. - Choose a role from the role dropdown: - Pick a role that matches the permissions they need (for example: member, admin, billing). - Optionally, assign project or workspace access if that option appears. - Optionally, add a short message for the invite email. ### Send and confirm - Click "Send invite" or similar to dispatch the invitation. - The person will get an email with a link to join your organization. They must accept the invite to become a member. ### Manage pending invites - Back on the Members page you can see invites with status "Invited" or "Pending". - From there you can resend or revoke an invite if needed. ### Quick troubleshooting If the invite email never arrives: - Check spam and promotions folders. - Confirm the email was typed correctly. - Ask the recipient to allow mail from common organization domains. - If you don't see invite options, you likely don't have permission to invite members. Contact an org admin. See OpenAI's docs on managing organization members for full details and role definitions. ## Use Torii Instead of working directly in OpenAI's admin console, you can use Torii [https://www.toriihq.com/], a SaaS Management Platform, to add users to your OpenAI organization. SMPs let you centralize management of SaaS subscriptions and integrations, making it simple to programmatically provision or deprovision users, view subscription details, and perform other admin tasks. Rather than handling invites manually in OpenAI, Torii lets you automate the invitation flow so it runs automatically when a specific trigger occurs - for example, when someone is hired, departs, or a contract is renewed. Automating this saves time, especially if invites need to be issued often. To invite users into your OpenAI organization from Torii, follow these steps: ### 1. Sign up for Torii Contact Torii [https://www.toriihq.com/], and request your complimentary two-week proof-of-concept. ### 2. Connect your OpenAI account to Torii After your Torii account is active, link your OpenAI account to Torii (assuming you already have one). Here are the instructions for the OpenAI integration [https://support.toriihq.com/hc/en-us/articles/32590037715739-OpenAI-Integration]. ### 3. Create a Torii workflow for OpenAI Inside Torii you can build automated workflows to add users to your OpenAI organization. Go to the Workflows tab, define a trigger, and then add an action that sends the invite to OpenAI. Once configured, the workflow will run whenever the trigger conditions are met. ## Use OpenAI's API Invite a user to your OpenAI organization via the API Here you'll use OpenAI's API to create an invitation so someone can join your organization. The request needs an admin API key and the invitations endpoint; examples below show the typical fields and responses. ### Check your API key and permissions - Use an API key tied to an admin or owner role for the organization. - Include the key in the Authorization header: Authorization: Bearer $OPENAIAPIKEY - Some API setups also require specifying your organization ID in the URL or a request parameter. If your endpoint needs an org ID, include it in the path. ### Build the invitation request There are common fields to include: - email: the invitee's email address (required) - role: membership role like member or admin (depends on your org roles) - message: optional welcome note Example curl: You can also send the same JSON from Python or Node using your HTTP client and the same Authorization header. ### Interpret the response - A successful invite typically returns a 200 or 201 status and an invitation object containing: - id: the invitation id - email: invited address - status: e.g., pending - createdat and possible expiresat Handle errors: - 401: invalid or missing API key - 403: key lacks org admin scope - 400: malformed request - 409: user already invited or already a member Example success response: ### List or check invitations To see outstanding invites, call the invitations list endpoint. Example curl: The response should return an array of invitation objects with their statuses. ### Revoke or cancel an invitation If you need to cancel an invite, call the revoke endpoint with the invitation id. Example curl to delete: A successful revoke typically returns a 200 with the cancelled invitation or a confirmation payload. ### Follow up after acceptance - Once the invitee accepts, their status changes from pending to active or they appear in the org members list. - You can confirm membership using your organization members or users endpoint via the API. Keep requests secure and audit invites regularly. If your API or endpoint names differ, check OpenAI's API docs for the specific invitations endpoints and expected fields for your account.