---
title: "Accept Invite"
method: POST
path: "/apps/{app_id}/invite/accept"
---

# Accept Invite

`POST /apps/{app_id}/invite/accept`

## Request

- Base URL: `https://api.xhostd.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.xhostd.com/apps/{app_id}/invite/accept`
- Auth: none declared

Accept a pending invite addressed to the caller (idempotent).

The gate reads the CALLER's account default, never the app owner's:
the new membership lands on the caller's account, and the person who
sent the invite must not hold the switch that protects the person
who reads it. The route loads no ``App`` row for the gate, because a
pending invitee cannot pass ``load_app_for``.

## Path parameters

- `app_id` string, uuid, required

## Headers

- `authorization` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

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