---
search:
  tags:
    - Account
    - POST
seo:
  description: >-
    Joins the organisation that an open invitation to your email address is
    for.… Reference for the POST /_luna/auth/invites/{id}/accept endpoint in the
    Luna API.
sidebar:
  label: Accept an invitation
  badge: POST
title: Accept an invitation
type: openapi-operation
---
Joins the organisation that an open invitation to your email address is for. The id comes from your notifications.

`POST /_luna/auth/invites/{id}/accept`

**Responses**

- `200` — The account joined the organisation.
- `default` — The request failed. The status says how and \`error.message\` says why.

Response example, 200:

```json
{
  "ok": true,
  "org": "string"
}
```
