---
title: "Add Agent To Organization"
method: POST
path: "/agent/add-agent-to-organization"
tags: ["Agent User"]
---

# Add Agent To Organization

`POST /agent/add-agent-to-organization`

Accept an invitation using the provided token.

## Query parameters

- `agent_email` string, 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)
