---
title: "Accept a pending org invite (session only)"
method: POST
path: "/v1/me/invites/{orgId}/accept"
tags: ["Account"]
---

# Accept a pending org invite (session only)

`POST /v1/me/invites/{orgId}/accept`

Creates the membership for the invite addressed to the session's email in the given org, then consumes the invite. This is the only way an invite becomes a membership: the invitee must be authenticated with the invited email and act explicitly.

## Path parameters

- `orgId` string, required

## Response `200`

Joined the organization

- AcceptInviteResult
  - `organizationId` string, required
  - `role` string, required

## Other responses

- `401` — Missing or invalid API key
- `404` — Resource not found
- `409` — The request conflicts with existing state
- `410` — The resource existed but is no longer usable (e.g. an expired invite)

---

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