app2email API प्राइसिंग

Templates

Your WhatsApp templates: list, create, look up, delete.

विधि Path सार Scope सैंडबॉक्स
GET /v1/{number}/templates List your templates, with an example request for each messages:read पढ़ता है
POST /v1/{number}/templates Create a template and submit it for approval templates:manage अस्वीकृत
GET /v1/{number}/templates/{name} One template: status, rejection reason, what it needs messages:read पढ़ता है
PATCH /v1/{number}/templates/{name} Edit a template (components, category, TTL, max price) templates:manage अस्वीकृत
DELETE /v1/{number}/templates/{name} Delete a template (every language, or one) templates:manage अस्वीकृत
POST /v1/{number}/templates/delete Delete several templates at once (all or nothing) templates:manage अस्वीकृत
POST /v1/{number}/templates/{name}/archive Archive a template (deleted by WhatsApp after 28 days) templates:manage अस्वीकृत
POST /v1/{number}/templates/{name}/unarchive Unarchive a template templates:manage अस्वीकृत
GET /v1/{number}/templates/{name}/compare Compare two templates: block rate, sends, top block reason messages:read पढ़ता है
PUT /v1/{number}/templates/{name}/authentication Create or update an authentication template in many languages templates:manage अस्वीकृत
GET /v1/{number}/template-previews Authentication template texts, per language messages:read पढ़ता है
GET /v1/{number}/template-library Meta's Template Library (pre-approved templates) messages:read पढ़ता है
GET /v1/{number}/template-insights Template insights: sent, delivered, read, clicked, cost messages:read पढ़ता है
POST /v1/{number}/template-insights Switch template insights on (cannot be undone) templates:manage अस्वीकृत
AI एजेंट्स के लिए

अभी आज़माएं, न अकाउंट चाहिए न किसी इंसान की ज़रूरत: POST https://api.app2email.com/v1/account/sandbox (कोई key नहीं, कोई body नहीं; या Management MCP सर्वर का create_sandbox टूल) एक डेमो WhatsApp नंबर के लिए key लौटाता है, जिसमें नकली ग्राहक होते हैं। एक टेम्पलेट भेजें, GET /events?wait=25 से इवेंट लें, और ग्राहक के जवाब का उत्तर दें: कुछ भी असली WhatsApp तक नहीं पहुंचता, और अनुरोध व जवाब असली API वाले ही होते हैं (https://www.app2email.com/docs/api/sandbox)।

पहले से ग्राहक हैं: अकाउंट के मालिक से नंबर (अंक) और https://www.app2email.com/dashboard/apikey से API key लें (sandbox key कुछ नहीं भेजती); इसे Authorization: Bearer <key> के रूप में messaging 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 आपको messaging MCP सर्वर और REST API के लिए key देता है।