---
title: "Accept invite"
method: POST
path: "/api/auth/accept-invite"
tags: ["Auth"]
---

# Accept invite

`POST /api/auth/accept-invite`

## Request

- Base URL: `https://demo.hitkeep.com`
- URL: `https://demo.hitkeep.com/api/auth/accept-invite`
- Auth: none declared

Accepts a team invite. New invite-created users provide a password and receive a session cookie; existing users must sign in first and can accept with the token only.

## Request body

- object
  - `password` string
  - `token` string, required

## Response `200`

Login response

- LoginResponse
  - `challenge_token` string
  - `factors` string[]
  - `passkey` object
  - `status` string

## Other responses

- `400`: Invalid or expired link
- `401`: Sign in to accept this invitation
- `403`: Invite cannot be accepted

---

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