# CodePulse API – Telegram Notification Sender

> CodePulse API – Telegram Notification Sender is a paid API for AI agents from codepulse-api.hahavoid0.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Sends a Telegram message to a specified chat using a provided bot token, via a pay-per-call HTTP proxy.

## Facts

- Endpoint: POST https://codepulse-api.hahavoid0.workers.dev/notify/telegram
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/codepulse-api-telegram-notification-sender-50b545a7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KtPJrclsc_lMo_6mdcBep

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability codepulse-api-telegram-notification-sender-50b545a7 -d '<json body>'
```

Example prompt: Send a Telegram message to chat ID -1001234567890 using bot token '123456:ABC-DEF1234ghIkl' with the text: 'Deployment complete — all systems green.'

## When to prefer this

Choose this endpoint when your agent needs to send Telegram messages without maintaining its own Telegram Bot API integration or API key management, especially in pay-per-call agentic workflows where $0.01 USDC per notification via x402 on Base is acceptable. Ideal for lightweight alerting, status updates, or notification delivery within automated pipelines.

## Known failure modes

- Invalid bot token returns Telegram auth error
- Chat ID not found or bot not a member of the chat causes delivery failure
- Message body missing required fields returns validation error
- Rate limiting by Telegram API if bot sends messages too frequently
- Network timeout on the workers.dev proxy layer

## How this service works

Dispatches telegram messages using a bot token and chat identifier.

## Output

Returns a JSON object with a 'result' field containing 'success' (boolean) and 'messageId' (integer assigned by Telegram), plus a 'warnings' array and a 'confidence' field indicating the reliability of the operation.

## Request schema (JSON Schema)

```json
{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "enum": [
      "POST"
     ]
    },
    "bodyType": {
     "type": "string",
     "enum": [
      "json",
      "form-data",
      "text"
     ]
    },
    "body": {
     "type": "object",
     "required": [
      "bot_token",
      "chat_id",
      "message"
     ],
     "properties": {
      "bot_token": {
       "type": "string",
       "description": "Telegram Bot API Token"
      },
      "chat_id": {
       "type": "string",
       "description": "Target chat identifier"
      },
      "message": {
       "type": "string",
       "description": "Message body text"
      }
     }
    }
   },
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   },
   "required": [
    "type"
   ]
  }
 },
 "required": [
  "input"
 ]
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "success": true,
   "messageId": 99482
  },
  "warnings": [],
  "supported": true,
  "confidence": "high",
  "data_as_of": "2026-06",
  "disclaimer": "Informational support only. Not legal, tax, medical, veterinary, or financial advice. Verify with the cited official source or a qualified professional before acting."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/codepulse-api-telegram-notification-sender-50b545a7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from codepulse-api.hahavoid0.workers.dev](https://www.zero.xyz/host/codepulse-api.hahavoid0.workers.dev/llms.txt)
