---
title: "Create an invite"
method: POST
path: "/orgs/{org_id}/invites"
tags: ["invites"]
---

# Create an invite

`POST /orgs/{org_id}/invites`

Generates an invite token for the given email. Only system admins may invite with role org_admin. The plaintext token is returned exactly once.

## Path parameters

- `org_id` string, required

## Request body

- InternalApiAdminCreateInviteRequest
  - `email` string
  - `role` string

## Response `201`

Created

- InternalApiAdminCreateInviteResponse
  - `created_at` string
  - `email` string
  - `expires_at` string
  - `id` string
  - `org_id` string
  - `role` string
  - `token` string
  - `token_hint` string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal Server Error

---

[API](https://skmtc.dev/voidmind-io/apis/untitled-api.md) · [All operations](https://skmtc.dev/voidmind-io/apis/untitled-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/voidmind-io/untitled-api/revisions/1405e7d9c155/schema)
