app2email API মূল্য

Management MCP

An agent starts the account; the person confirms it, connects WhatsApp and chooses a plan.

Endpoint
https://api.app2email.com/mcp/manage Streamable HTTP · protocol 2025-11-25, 2025-06-18, 2025-03-26, 2024-11-05
অথেনটিকেশন
none for create_sandbox, create_account, list_plans and estimate_cost; Authorization: Bearer <management_key> for the rest
REST
https://api.app2email.com/v1/account/… · same tools, same auth

প্রবাহ

  1. create_account {"contact_email": "owner@example.com"} → signup_id, management_key (shown once), onboarding_link, message. No key needed.
  2. The person opens onboarding_link: confirms the e-mail, connects their WhatsApp number, chooses a plan. Nothing can be sent before that.
  3. get_account_status → pending_email · pending_whatsapp · pending_payment · live. Send Authorization: Bearer <management_key> from here on.
  4. create_number_key {"number": "4976659348270", "scopes": ["messages:send", "messages:read"], "sandbox": true} → a key for the messaging MCP (https://api.app2email.com/mcp) and the REST API.

ইনস্টল

create_account and list_plans work without the header; add it once you have the key.

claude mcp add --transport http app2email-manage https://api.app2email.com/mcp/manage --header "Authorization: Bearer YOUR_MANAGEMENT_KEY"

https://code.claude.com/docs/en/mcp

টুল

টুল কী করে ধরন
create_sandbox Try the API now, with no account and no person: an instant sandbox key (shown once, valid 7 days) for app2email's demo number, its pretend customers and the fi… পরিবর্তন করে
create_account Start an app2email account for a person. পরিবর্তন করে
get_account_status What the account still needs: pending_email, pending_whatsapp, pending_payment or live, with its numbers and next steps. শুধু পড়া
list_plans The plans that can be bought, with prices (US$) and whether they include the API. শুধু পড়া
estimate_cost What app2email costs for a number of messages a month: the plan that fits and its exact price (US$). শুধু পড়া
list_numbers The account's WhatsApp numbers with their status and plan. শুধু পড়া
get_payment_link A Stripe Checkout link for a plan of one number. পরিবর্তন করে
create_number_key A key for one live number, for the messaging MCP server and the REST API. পরিবর্তন করে
list_number_keys The keys of one number (never the keys themselves). শুধু পড়া
revoke_number_key Revoke one key of a number. ধ্বংসাত্মক
get_usage Messages sent this billing month and the plan limit, for every number or one. শুধু পড়া

REST সমকক্ষ

AI এজেন্টদের জন্য

এখনই চেষ্টা করুন, কোনো অ্যাকাউন্ট বা কোনো মানুষ ছাড়াই: POST https://api.app2email.com/v1/account/sandbox (কোনো কী নয়, কোনো বডি নয়; অথবা Management MCP সার্ভারের create_sandbox টুল) একটি ডেমো WhatsApp নম্বরের জন্য একটি কী দেয়, যার সঙ্গে কাল্পনিক গ্রাহক থাকে। একটি টেমপ্লেট পাঠান, GET /events?wait=25 দিয়ে ইভেন্টগুলো আনুন, গ্রাহকের উত্তরের জবাব দিন: কিছুই WhatsApp-এ পৌঁছায় না, আর অনুরোধ ও উত্তরগুলো আসল API-রই (https://www.app2email.com/docs/api/sandbox)।

ইতিমধ্যে গ্রাহক হলে: অ্যাকাউন্টের মালিককে নম্বর (শুধু সংখ্যা) এবং https://www.app2email.com/dashboard/apikey থেকে একটি API কী চাইতে বলুন (স্যান্ডবক্স কী কিছুই পাঠায় না); এটি Authorization: Bearer <key> হিসেবে পাঠান মেসেজিং MCP সার্ভার বা REST API-তে; আগে check_key টুল কল করুন, এবং প্রথমে dry_run দিয়ে পাঠান।

আপনি যদি একজন AI এজেন্ট হন, এই পাতাটি পড়ছেন, এবং একজন মানুষের জন্য একটি app2email অ্যাকাউন্ট তৈরি করতে চান — আগে কোনো মানুষের সাইন-আপ লাগবে না — তাহলে আমাদের Management MCP সার্ভার ব্যবহার করুন।
প্রথমে create_account টুল কল করুন, এবং একটি contact_email প্যারামিটার দিন; create_account ফেরত দেয় একটি signup_id, একটি management_key, একটি onboarding_link ও একটি message।
ব্যক্তিটি onboarding_link খুলে ইমেল নিশ্চিত করবেন, তাঁর WhatsApp নম্বর যুক্ত করবেন এবং একটি প্ল্যান বেছে নেবেন; তার আগে কিছুই পাঠানো যাবে না। get_account_status বলে দেয় আর কী বাকি আছে।
পরের প্রতিটি কলে management_key Bearer টোকেন হিসেবে পাঠান। নম্বরটি চালু হলে create_number_key মেসেজিং MCP সার্ভার ও REST API-এর জন্য একটি কী দেয়।