Developer Platform & API
Send real letters via REST API, AI Agents (Cursor, Claude, OpenClaw), or n8n workflows.
Your Active API Key
Pass this key as a Bearer token in the Authorization HTTP header.
ap_live_bharat_post_demo123Quick 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 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.
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.
/message/sendText/anagata-postREST API Endpoints Reference
/api/v1/lettersCreate a new physical letter (immediate dispatch or saved draft). Validates 6-digit Indian PIN code and deducts wallet balance.
/api/v1/lettersList all physical letters sent by your account.
/api/v1/letters/:idGet details of a single letter and its real-time postal tracking milestones.
/api/v1/letters/:idUpdate the content or recipient address of a letter in DRAFT status.
/api/v1/letters/:id/sendSend a draft letter. Deducts balance and queues for printing and postal dispatch.
/api/v1/pincode/:pincodeInstant Indian PIN code directory lookup (returns District, State, Delivery Post Office, and Postal Circle).