---
title: "Accept guest invitation"
method: POST
path: "/guest-invitations/{token}/accept"
tags: ["guest users"]
---

# Accept guest invitation

`POST /guest-invitations/{token}/accept`

## Request

- Base URL: `http://localhost:3001`
- URL: `http://localhost:3001/guest-invitations/{token}/accept`
- Auth: one of:
  - `bearer` (a scheme the document does not define)
  - HTTP bearer

Accept a guest user invitation and merge into account

## Path parameters

- `token` string, required

## Response `200`

Invitation accepted successfully

- object
  - `data` AcceptGuestInvitationResponseDto
    - `groupId` string, required: Group ID
  - `success` boolean
  - `message` string

## Other responses

- `400`: Bad Request - Invalid input or validation failed
- `401`: Unauthorized - Authentication required or invalid token
- `403`: Forbidden - Insufficient permissions to access this resource
- `404`: Not Found - The requested resource does not exist
- `500`: Internal Server Error - An unexpected error occurred

---

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