Home/Developers

Developer Platform & API

Send real letters via REST API, AI Agents (Cursor, Claude, OpenClaw), or n8n workflows.

Live Authentication

Your Active API Key

Pass this key as a Bearer token in the Authorization HTTP header.

ap_live_bharat_post_demo123

Quick Start: Send a Letter

curl -X POST https://post.anagataitsolutions.in/api/v1/letters \
  -H "Authorization: Bearer ap_live_bharat_post_demo123" \
  -H "Content-Type: application/json" \
  -d '{
    "recipient": "Rohan Gupta",
    "phone": "9876543210",
    "address": {
      "street": "104, Cyber Heights, 4th Cross",
      "locality": "HSR Layout Sector 1",
      "city": "Bengaluru",
      "state": "Karnataka",
      "pincode": "560102"
    },
    "content": "Dear Rohan,\n\nWe are pleased to send your physical certificate of equity allocation.\n\nWarm regards,\nFounder Office",
    "delivery_type": "SPEED_POST",
    "handwriting": "CAVEAT"
  }'
โšกn8n.anagataitsolutions.in

n8n Workflow Automation

Trigger physical letters automatically from your CRM, Stripe payments, or Google Sheets running on your VPS n8n instance. We provide a ready-to-import workflow template.

๐Ÿ’ฌevo.anagataitsolutions.in

Evolution WhatsApp Dispatch

Whenever an operations print partner stamps and dispatches a letter via Speed Post, our system calls your Evolution API instance to notify the recipient via WhatsApp with the live consignment tracking link.

Endpoint: /message/sendText/anagata-post

REST API Endpoints Reference

POST/api/v1/letters

Create a new physical letter (immediate dispatch or saved draft). Validates 6-digit Indian PIN code and deducts wallet balance.

GET/api/v1/letters

List all physical letters sent by your account.

GET/api/v1/letters/:id

Get details of a single letter and its real-time postal tracking milestones.

PATCH/api/v1/letters/:id

Update the content or recipient address of a letter in DRAFT status.

POST/api/v1/letters/:id/send

Send a draft letter. Deducts balance and queues for printing and postal dispatch.

GET/api/v1/pincode/:pincode

Instant Indian PIN code directory lookup (returns District, State, Delivery Post Office, and Postal Circle).