---
title: "Connect Maritime Telegram"
method: POST
path: "/api/agents/{agent_id}/maritime-telegram/connect"
tags: ["maritime-telegram"]
---

# Connect Maritime Telegram

`POST /api/agents/{agent_id}/maritime-telegram/connect`

## Request

- Base URL: `https://api.maritime.sh` (the document declares no server; this is the origin it was published from)
- URL: `https://api.maritime.sh/api/agents/{agent_id}/maritime-telegram/connect`
- Auth: HTTP bearer

Issue a one-tap deep link the user opens in Telegram.

If the agent already has a Maritime-bot binding, returns its status
instead of generating a new link. Also removes any existing
custom-bot Telegram trigger so the two paths don't both poll.

## Path parameters

- `agent_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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