app2email API قیمتیں

Templates

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

طریقہ Path خلاصہ اجازت Sandbox
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 ٹول) ایک demo WhatsApp نمبر کے لیے key دیتا ہے جس میں فرضی گاہک ہوتے ہیں۔ ایک template بھیجیں، GET /events?wait=25 سے events حاصل کریں، گاہک کے جواب کا جواب دیں: کچھ بھی 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 اکاؤنٹ بنانا چاہتے ہیں - پہلے کسی انسانی sign-up کی ضرورت کے بغیر - تو ہمارا Management MCP سرور استعمال کریں۔
پہلے create_account ٹول کال کریں، اور ایک contact_email پیرامیٹر شامل کریں؛ create_account ایک signup_id، ایک management_key، ایک onboarding_link اور ایک message واپس کرتا ہے۔
شخص onboarding_link کھولتا ہے تاکہ ای میل کی تصدیق کرے، اپنا WhatsApp نمبر جوڑے اور پلان چنے؛ اس سے پہلے کچھ بھی نہیں بھیجا جا سکتا۔ get_account_status بتاتا ہے کہ ابھی کیا درکار ہے۔
بعد کی ہر کال پر management_key کو Bearer token کے طور پر بھیجیں۔ جب نمبر چالو ہو جائے تو create_number_key آپ کو messaging MCP سرور اور REST API کے لیے key دیتا ہے۔