---
title: "Accept a company invitation"
method: POST
path: "/company/invitations/accept"
tags: ["Company"]
---

# Accept a company invitation

`POST /company/invitations/accept`

## Request

- Base URL: `https://api.atako.ai`
- URL: `https://api.atako.ai/company/invitations/accept`
- Auth: HTTP bearer

The caller's authenticated email must match the invitation's email.

## Request body

- object
  - `token` string, required

## Response `200`

- object
  - `companyId` string, uuid, required

## Other responses

- `400`: Validation error.
- `401`: Missing, malformed, or invalid bearer token / API key, or revoked session (SESSION_REVOKED).
- `409`: `ALREADY_IN_COMPANY` — the caller joined another company after this invitation was issued. A user has at most one.
- `422`: Invalid invitation / expired or already used / email mismatch

---

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