---
title: "Accept Invitation"
method: POST
path: "/agent/accept-invitation/{invitation_token}"
tags: ["Agent User"]
---

# Accept Invitation

`POST /agent/accept-invitation/{invitation_token}`

Accept an invitation using the provided token.

## Path parameters

- `invitation_token` string, uuid, required

## Response `200`

Successful Response

- AgentInvitation
  - `id` string, uuid
  - `date_created` string, date-time
  - `date_updated` string, date-time
  - `invited_by_user_id` string, uuid — The ID of the user who invited the agent.
  - `name` string — The name of the invited agent.
  - `email` string — The email address of the invited agent.
  - `permission` string — The permissions granted to the invited agent.
  - `knowledge_base` string — The UUID references of the knowledge bases associated with the agent, separated by semicolon.
  - `invitation_token` string, uuid — The token associated with the invitation.
  - `accepted` boolean — Indicates if the invitation has been accepted.

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/dante-ai/apis/dante-ai-api.md) · [All operations](https://skmtc.net/dante-ai/apis/dante-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dante-ai/dante-ai-api/versions/38b6c9a4246d/schema)
