---
title: "Accept an account invitation"
method: POST
path: "/v1/invitations/accept"
---

# Accept an account invitation

`POST /v1/invitations/accept`

## Request

- Base URL: `https://api.plori.ai`
- URL: `https://api.plori.ai/v1/invitations/accept`
- Auth: HTTP bearer

Authenticate as the invitee with the invited email. Acceptance consumes the one-time invitation token and returns the account and role.

## Request body

- object
  - `token` string, required

## Response `200`

Invitation accepted.

- object
  - `account` AccountPerson, required
    - `user_id` string, uuid, required
    - `email` string, required
  - `role` 'member' | 'viewer', required

## Other responses

- `400`: Malformed request.
- `401`: Missing or invalid credential.
- `403`: A registered user must sign in with the invited email. Email mismatch has code invitation_email_mismatch.
- `404`: No such resource.
- `409`: The account cannot accept its own invitation.
- `410`: Invitation expired.
- `500`: Internal error with request_id.

---

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