---
title: "Send Agent Invitation"
method: POST
path: "/agent/send-invitation"
tags: ["Agent User"]
---

# Send Agent Invitation

`POST /agent/send-invitation`

## Query parameters

- `team_id` string, uuid

## Request body

- AgentInvitationCreate
  - `name` string
  - `email` string, email, required
  - `permission` string
  - `knowledge_base` string

## Response `201`

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)
