---
title: "Accept Membership"
method: POST
path: "/v1/memberships/{membership_id}/accept"
tags: ["memberships"]
---

# Accept Membership

`POST /v1/memberships/{membership_id}/accept`

## Request

- Base URL: `https://api.claims.zicron.ai`
- URL: `https://api.claims.zicron.ai/v1/memberships/{membership_id}/accept`
- Auth: none declared

Accept a pending membership invitation.

Sets accepted_at to NOW(), allowing the user to switch to this org.
Returns the accepted membership details.

## Path parameters

- `membership_id` string, required

## Response `200`

Successful Response

- MembershipResponse: Accepted membership.
  - `id` string, required
  - `org_id` string, required
  - `org_name` string, required
  - `org_slug` string, required
  - `role` string, required
  - `accepted_at` string, required
  - `is_demo` boolean
  - `is_trial` boolean

## Other responses

- `422`: Validation Error

---

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