---
title: "Enable an integration for an agent (telegram, email, sms, github)"
method: POST
path: "/api/agents/{agentId}/integrations"
tags: ["Agents"]
---

# Enable an integration for an agent (telegram, email, sms, github)

`POST /api/agents/{agentId}/integrations`

## Request

- Base URL: `https://api.agentbrink.com/api`
- URL: `https://api.agentbrink.com/api/api/agents/{agentId}/integrations`
- Auth: HTTP bearer

## Request body

- EnableIntegrationBody
  - `type` 'telegram' | 'email' | 'sms' | 'github', required
  - `config` object: Integration-specific config (e.g. botToken for Telegram)

## Response `200`

Integration enabled

## Other responses

- `400`: Invalid request body
- `404`: Resource not found

---

[API](https://skmtc.dev/agentbrink/apis/agentbrink-api.md) · [All operations](https://skmtc.dev/agentbrink/apis/agentbrink-api/llms.txt) · [OpenAPI document](https://skmtc.dev/agentbrink/apis/agentbrink-api/revisions/d2c782056161?raw)
