---
title: "Accept"
method: POST
path: "/v1/invitations/accept"
tags: ["invitations"]
---

# Accept

`POST /v1/invitations/accept`

## Request

- Base URL: `https://api.sonenta.dev`
- URL: `https://api.sonenta.dev/v1/invitations/accept`
- Auth: none declared

## Request body

- InvitationAcceptIn
  - `token` string, required

## Response `200`

Successful Response

- InvitationAcceptOut: Accept result: which per-project roles were applied vs skipped (a project deleted since the invite, or a language scope no longer valid).
  - `uuid` string, required
  - `org_uuid` string, required
  - `email` string, required
  - `role` 'owner' | 'admin' | 'member', required
  - `invited_by_uuid` string, required
  - `expires_at` string, date-time, required
  - `accepted_at` string, date-time, nullable, required
  - `revoked_at` string, date-time, nullable, required
  - `created_at` string, date-time, required
  - `projects` InvitationProjectRole[]
    - `project_uuid` string, required
    - `project_name` string, nullable
    - `role` 'owner' | 'admin' | 'developer' | 'translator' | 'qa' | 'reviewer' | 'viewer', required
    - `languages_scope` string[], nullable
  - `applied_project_roles` InvitationProjectRole[]
    - `project_uuid` string, required
    - `project_name` string, nullable
    - `role` 'owner' | 'admin' | 'developer' | 'translator' | 'qa' | 'reviewer' | 'viewer', required
    - `languages_scope` string[], nullable
  - `skipped_project_roles` SkippedProjectRole[]
    - `project_uuid` string, required
    - `role` 'owner' | 'admin' | 'developer' | 'translator' | 'qa' | 'reviewer' | 'viewer', required
    - `reason` string, required

## Other responses

- `422`: Validation Error

---

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