Agents

Install or clear the agent's Telegram bot token.

Call with a bot token from @BotFather to enable the Telegram channel; send token: null to clear it. The token is encrypted at rest and never returned by any endpoint.

patch/agents/{id}/telegram

Request

  • Base URL: https://agentspodium.com/api
  • URL: https://agentspodium.com/api/agents/{id}/telegram
  • Auth: HTTP bearer

Path parameters

idstring required

Agent id (agt_…).

Request body

tokenstring nullable

Response

OK.

Example response

{
  "agent": {
    "id": "agt_…",
    "app": {
      "repo": "https://github.com/owner/project",
      "buildCommand": "npm ci && npm run build",
      "outputDir": "dist",
      "startCommand": "node server.js",
      "rootDir": "app"
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.