---
title: "Create invitation"
method: POST
path: "/organizations/{organization_id}/invitations"
tags: ["Organization Invitations"]
---

# Create invitation

`POST /organizations/{organization_id}/invitations`

Creates an invitation for a user to join an organization.

## Path parameters

- `organization_id` string, required

## Query parameters

- `redirect_url` string

## Request body

- CreateOrganizationInvitationRequest
  - `email` string, required
  - `role` string, required

## Response `201`

Created

- OrganizationInvitation
  - `created_at` string, date-time, required
  - `email` string, required
  - `expires_at` string, date-time, required
  - `id` string, required
  - `inviter_id` string, required
  - `organization_id` string, required
  - `role` string, required
  - `status` 'pending' | 'accepted' | 'rejected' | 'revoked' | 'expired', required — The type of the invitation status

## Changes

- **2026-07-26** `7af0179a0d95` — 2 breaking, 1 warning
  - added the new required request property `email`
  - added the new required request property `role`
  - removed the request property `redirect_url`
- **2026-07-25** `7fbdbc8cec30` — 2 warning, 1 info
  - removed the request property `email`
  - removed the request property `role`
  - added the new optional `query` request parameter `redirect_url`
- **2026-07-24** `3f0abf6aab3c` — 2 info
  - api tag `Organization Invitations` added
  - api tag `Invitations` removed
- **2026-07-09** `dad8e2644615` — 1 info
  - endpoint added
- **2026-07-08** `d2f9387037c5` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/authula/apis/authula-api/changes/organizations/:organization_id/invitations/post.md)

---

[API](https://skmtc.dev/authula/apis/authula-api.md) · [All operations](https://skmtc.dev/authula/apis/authula-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/authula/authula-api/revisions/1a139f96a670/schema)
