---
title: "Accept a share invitation"
method: POST
path: "/api/v1/apps/{appId}/shares/accept"
tags: ["AppShares"]
---

# Accept a share invitation

`POST /api/v1/apps/{appId}/shares/accept`

## Request

- Base URL: `https://charm.ing`
- URL: `https://charm.ing/api/v1/apps/{appId}/shares/accept`
- Auth: HTTP bearer

User-gated (`chrm_user_*` or session). Accepts the CALLER’s pending invitation for this app; idempotent (`alreadyAccepted: true` on a repeat).

## Path parameters

- `appId` string, uuid, required

## Response `200`

Accepted (or already accepted).

- ShareAcceptResponse
  - `ok` true, required
  - `alreadyAccepted` true

## Other responses

- `400`: Invalid app id.
- `401`: Sign-in required.
- `404`: No invitation for this app.

---

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