---
title: "Accept invitation"
method: POST
path: "/resources/users/v1/invitation/accept"
tags: ["User management"]
---

# Accept invitation

`POST /resources/users/v1/invitation/accept`

## Request

- Base URL: `http://localhost:8181`
- URL: `http://localhost:8181/resources/users/v1/invitation/accept`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/docs/resources/users/v1/invitation/accept/post.ts> (a function with typed inputs; its response is checked against the schema)

This route accepts an invitation for a user to join a specific tenant. Send the required userId and activation token in the POST body. The userId and activation token appear as a query params in the url Frontegg sends to the user in the activation email.

## Request body

- AcceptInvitationDto
  - `userId` string, required
  - `token` string, required

## Response `201`

---

[API](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp.md) - [All operations](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/llms.txt) - [OpenAPI document](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/revisions/c496ae9e1c3e?raw)
