---
title: "Add a user directly as a member, or invite an email to join the organization"
method: POST
path: "/organizations/{org}/member/"
tags: ["organizations"]
---

# Add a user directly as a member, or invite an email to join the organization

`POST /organizations/{org}/member/`

## Request

- Base URL: `https://dados.gov.pt/api/1`
- URL: `https://dados.gov.pt/api/1/organizations/{org}/member/`
- Auth: none declared

## Request body

- MembershipInvite
  - `assignments` GenericReference[]: Objects to assign on acceptance (for partial_editor invitations)
    - `class` string
    - `id` string
  - `comment` string: Invitation message
  - `email` string: Email to invite (if user not registered)
  - `role` 'admin' | 'editor' | 'partial_editor': The role to assign
  - `user` string: User ID to invite

## Response `201`

Member added or invitation sent

## Other responses

- `400`: Bad Request
- `403`: Not Authorized

## Changes

- **2026-09-11** `1175d034be00`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/dados/apis/udata-api/changes/organizations/:org/member/post.md)

---

[API](https://skmtc.dev/dados/apis/udata-api.md) - [All operations](https://skmtc.dev/dados/apis/udata-api/llms.txt) - [OpenAPI document](https://skmtc.dev/dados/apis/udata-api/revisions/77edaf8a00ea?raw)
