---
title: "Creates an invitation to join the organization."
method: POST
path: "/organizations/{organizationId}/invitations"
tags: ["Organization"]
---

# Creates an invitation to join the organization.

`POST /organizations/{organizationId}/invitations`

Returns a single-use token the invitee presents to the accept-invitation endpoint.

## Path parameters

- `organizationId` string, required

## Request body

- InviteOrgMemberEndpointInput
  - `email` string, required — The email address to invite.
  - `role` 'Owner' | 'Admin' | 'Editor' | 'Viewer', required

## Response `200`

OK

- InviteOrgMemberEndpointOutput
  - `invitationId` string, required — The id of the created invitation.
  - `token` string, required — The single-use token used to accept the invitation.
  - `expiresAt` string, date-time, required — The instant after which the invitation can no longer be accepted.

## Other responses

- `400` — Bad Request
- `401` — Unauthenticated
- `403` — Forbidden

---

[API](https://skmtc.net/rapidata/apis/rapidata-api.md) · [All operations](https://skmtc.net/rapidata/apis/rapidata-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rapidata/rapidata-api/revisions/fdb89a6eb2fb/schema)
