---
title: "Invite User"
method: POST
path: "/api/v1/organizations/invite"
tags: ["Organizations"]
---

# Invite User

`POST /api/v1/organizations/invite`

## Request

- Base URL: `https://zeropath.com`
- URL: `https://zeropath.com/api/v1/organizations/invite`
- Auth: API key in header `X-ZeroPath-API-Token-Id` and API key in header `X-ZeroPath-API-Token-Secret`

Invite a user to an organization

## Request body

- object
  - `organizationId` string, required: ID of the organization
  - `email` string, email, required: Email address of the user to invite
  - `role` 'ADMIN' | 'MEMBER', required: Role to assign to the invited user

## Response `200`

Successful response

- object
  - `ok` boolean

---

[API](https://skmtc.dev/zeropath/apis/zeropath-api.md) - [All operations](https://skmtc.dev/zeropath/apis/zeropath-api/llms.txt) - [OpenAPI document](https://skmtc.dev/zeropath/apis/zeropath-api/revisions/126e9c80ba0d?raw)
