---
title: "Create Agent Integration"
method: POST
path: "/api/workspace-integrations/agent/{agent_id}"
tags: ["workspace-integrations", "workspace-integrations"]
---

# Create Agent Integration

`POST /api/workspace-integrations/agent/{agent_id}`

## Request

- Base URL: `https://api.dialogbrain.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.dialogbrain.com/api/workspace-integrations/agent/{agent_id}`
- Auth: none declared

Enable an integration on an agent.

If `denied_tools` is empty, computes initial denylist from
is_write_class on the integration's tool catalog so WRITE-class
tools are off by default per the spec UI footer:
"N likely-write tools auto-disabled — review the rest".

## Path parameters

- `agent_id` integer, required

## Request body

- AgentIntegrationCreate
  - `workspace_integration_id` integer, required
  - `denied_tools` string[]
  - `enabled` boolean

## Response `201`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway.md) · [All operations](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/llms.txt) · [OpenAPI document](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/revisions/77bef09a9209?raw)
