---
title: "Add member"
method: POST
path: "/api/v1/orgs/{orgId}/members"
tags: ["Organizations"]
---

# Add member

`POST /api/v1/orgs/{orgId}/members`

## Request

- Base URL: `http://localhost:8080`
- URL: `http://localhost:8080/api/v1/orgs/{orgId}/members`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

Invites a user to the organization

## Path parameters

- `orgId` string, uuid, required

## Request body

- AddMemberRequest
  - `email` string, email, required
  - `role` 'OWNER' | 'DEVELOPER' | 'VIEWER' | 'API_KEY', required

## Response `201`

Member added

---

[API](https://skmtc.dev/railhook/apis/railhook-api.md) · [All operations](https://skmtc.dev/railhook/apis/railhook-api/llms.txt) · [OpenAPI document](https://skmtc.dev/railhook/apis/railhook-api/revisions/4e2c76dfc33d?raw)
