---
title: "Accept scope invite"
method: POST
path: "/user/invites/{scope}"
---

# Accept scope invite

`POST /user/invites/{scope}`

Accepts an invite to a scope

## Path parameters

- `scope` string, required — The name of a scope. This must not be @ prefixed.

## Response `200`

OK

- ScopeMember
  - `scope` string, required — The name of a scope. This must not be @ prefixed.
  - `user` User, required — Public user information.
    - `id` string, uuid, required — The ID of a user.
    - `name` string, required — The user's display name.
    - `avatarUrl` string, required — The URL to the user's avatar.
    - `githubId` integer, nullable — The user's GitHub ID.
    - `createdAt` string, date-time, required — The date and time when the user profile was created.
    - `updatedAt` string, date-time, required — The date and time when the user profile was last updated.
  - `isAdmin` boolean, required — Whether the user is an admin of the scope.
  - `createdAt` string, date-time, required — The date and time when the user was added to the scope.
  - `updatedAt` string, date-time, required — The date and time when the scope member roles were last updated.

## Other responses

- `401` — Unauthorized
- `404` — Scope invite not found

---

[API](https://skmtc.net/deno/apis/jsr.md) · [All operations](https://skmtc.net/deno/apis/jsr/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/deno/jsr/versions/3d37ac9b68f7/schema)
