---
title: "Accept invitation to workspace"
method: POST
path: "/accept-invite"
tags: ["Accept Invite"]
---

# Accept invitation to workspace

`POST /accept-invite`

## Request

- Base URL: `https://app.mammoth.io/api/v2`
- URL: `https://app.mammoth.io/api/v2/accept-invite`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-KEY` and API key in header `X-API-SECRET` and API key in header `X-WORKSPACE-ID`

Accept invitation to workspace by token

## Request body

- AcceptInviteSchema: Accept Invite User Data
  - `token` string, required: Invite token

## Response `201`

Created

## Other responses

- `400`: Bad Request
- `401`: Authorization error
- `403`: Request forbidden -- authorization will not help

---

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