---
title: "Create an invite for a user to the organization. The invite must be accepted by the user before they have access to the organization."
method: POST
path: "/organization/invites"
tags: ["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.

`POST /organization/invites`

## Request body

- InviteRequest
  - `email` string, required — Send an email to this address
  - `role` 'reader' | 'owner', required — `owner` or `reader`

## Response `200`

User invited successfully.

- Invite — Represents an individual `invite` to the organization.
  - `object` 'organization.invite', required — The object type, which is always `organization.invite`
  - `id` string, required — The identifier, which can be referenced in API endpoints
  - `email` string, required — The email address of the individual to whom the invite was sent
  - `role` 'owner' | 'reader', required — `owner` or `reader`
  - `status` 'accepted' | 'expired' | 'pending', required — `accepted`,`expired`, or `pending`
  - `invited_at` integer, required — The Unix timestamp (in seconds) of when the invite was sent.
  - `expires_at` integer, required — The Unix timestamp (in seconds) of when the invite expires.
  - `accepted_at` integer — The Unix timestamp (in seconds) of when the invite was accepted.

---

[API](https://skmtc.net/omnistack-sh/apis/openai-api.md) · [All operations](https://skmtc.net/omnistack-sh/apis/openai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/omnistack-sh/openai-api/versions/a127ad1d97cb/schema)
