provider Invites POST /organization/invites
@utdk/openai /organization/invites
Create an invite for a user to the organization. The invite must be accepted by the user before they have access to the organization.

Try it

Authentication
Configure credentials for OpenAI API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

inviteuser
POST/organization/invites

Input

required

Send an email to this address

required

`owner` or `reader`

An array of projects to which membership is granted at the same time the org invite is accepted. If omitted, the user will be invited to the default project for compatibility with legacy behavior.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import openai from '@utdk/openai';

await openai.inviteuser()