Home / Servers / OpenAI API / invite_user

Create invite

An MCP tool from the OpenAI API server, hosted on mcp.hjlabs.in.

Create invite Create an invite for a user to the organization. The invite must be accepted by the user before they have access to the organization. [POST /organization/invites]

Name on the gateway: openai_api__invite_user · may change things.

Parameters

NameTypeDescription
email requiredstringSend an email to this address
role requiredreader | ownerowner or reader
projectsarrayAn array of projects to which membership is granted at the same time the org…

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "openai_api__invite_user",
  "arguments": {
    "email": "…",
    "role": "…"
  }
}

Or connect the OpenAI API server directly, which lists 371 tools including this one:

Run in your terminal
claude mcp add --transport http hj-openai-api https://mcp.hjlabs.in/mcp/openai-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the create invite tool with email set to ….

More from OpenAI API