---
title: "Adds a user to an organization"
method: POST
path: "/api/organization/join"
tags: ["Organization"]
---

# Adds a user to an organization

`POST /api/organization/join`

## Request

- Base URL: `https://passivelogic.com` (the document declares no server; this is the origin it was published from)
- URL: `https://passivelogic.com/api/organization/join`
- Auth: one of:
  - API key in header `X-PL-AUTH`
  - API key in header `Authorization: PL-API-KEY`
  - API key in header `PL-API-KEY`
  - HTTP basic
- TypeScript: <https://skmtc.dev/passivelogic/apis/passivelogic-http-api/docs/api/organization/join/post.ts> (a function with typed inputs; its response is checked against the schema)

Adds user to organization based on Organization invite ID.
Role in organization is determined through Organization invite role, if no role is defined, we default to read-only user.

## Request body

- AcceptOrganizationInvite: Parameters required to accept an organization invite
  - `inviteID` string, uuid, required: ID of the invitation being accepted.

## Response `200`

OK

- GenericMessageResponse: Generic response information
  - `message` string, required: Informative message relating to the specific response

---

[API](https://skmtc.dev/passivelogic/apis/passivelogic-http-api.md) - [All operations](https://skmtc.dev/passivelogic/apis/passivelogic-http-api/llms.txt) - [OpenAPI document](https://skmtc.dev/passivelogic/apis/passivelogic-http-api/revisions/28fce63bcdbb?raw)
