---
title: "Accepts the invitation identified by the token."
method: POST
path: "/organizations/accept-invitation"
tags: ["Organization"]
---

# Accepts the invitation identified by the token.

`POST /organizations/accept-invitation`

Responds with 409 when the invitation is expired, already used, or was issued to a different
 email than the calling customer's.

## Request body

- AcceptOrgInvitationEndpointInput
  - `token` string, required — The single-use invitation token.

## Response `200`

OK

- AcceptOrgInvitationEndpointOutput
  - `organizationId` string, required — The organization the customer joined.
  - `membershipId` string, required — The id of the created membership.

## Other responses

- `400` — Bad Request
- `401` — Unauthenticated
- `403` — Forbidden

---

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