app2email API Amanani

Templates

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

Indlela yokusebenza Indlela Isifinyezo Isikali I-Sandbox
GET /v1/{number}/templates List your templates, with an example request for each messages:read kuyafundwa
POST /v1/{number}/templates Create a template and submit it for approval templates:manage kwenqatshiwe
GET /v1/{number}/templates/{name} One template: status, rejection reason, what it needs messages:read kuyafundwa
PATCH /v1/{number}/templates/{name} Edit a template (components, category, TTL, max price) templates:manage kwenqatshiwe
DELETE /v1/{number}/templates/{name} Delete a template (every language, or one) templates:manage kwenqatshiwe
POST /v1/{number}/templates/delete Delete several templates at once (all or nothing) templates:manage kwenqatshiwe
POST /v1/{number}/templates/{name}/archive Archive a template (deleted by WhatsApp after 28 days) templates:manage kwenqatshiwe
POST /v1/{number}/templates/{name}/unarchive Unarchive a template templates:manage kwenqatshiwe
GET /v1/{number}/templates/{name}/compare Compare two templates: block rate, sends, top block reason messages:read kuyafundwa
PUT /v1/{number}/templates/{name}/authentication Create or update an authentication template in many languages templates:manage kwenqatshiwe
GET /v1/{number}/template-previews Authentication template texts, per language messages:read kuyafundwa
GET /v1/{number}/template-library Meta's Template Library (pre-approved templates) messages:read kuyafundwa
GET /v1/{number}/template-insights Template insights: sent, delivered, read, clicked, cost messages:read kuyafundwa
POST /v1/{number}/template-insights Switch template insights on (cannot be undone) templates:manage kwenqatshiwe
Ku-AI agents

Zama manje, ngaphandle kwe-akhawunti nomuntu: POST https://api.app2email.com/v1/account/sandbox (akudingeki ukhiye, akudingeki umzimba; noma ithuluzi create_sandbox leseva ye-Management MCP) liphendula ngekhiye lenombolo yedemo ye-WhatsApp enamakhasimende abekiwe. Thumela isifanekiso, uthole izehlakalo nge-GET /events?wait=25, uphendule impendulo yekhasimende: akukho okufika ku-WhatsApp, nezicelo nezimpendulo zingezalo-API langempela (https://www.app2email.com/docs/api/sandbox).

Usuvele ungumkhwenyana: cela umnikazi we-akhawunti inombolo (izinombolo) nekhiye le-API ku-https://www.app2email.com/dashboard/apikey (ikhiye le-sandbox alithumeli lutho); lithumele njenge-Authorization: Bearer <key> seva ye-MCP yokuthumelana noma ku-REST API; bize check_key kuqala, uthumele ngo-dry_run kuqala.

Uma ungu-AI agent ofunda leli khasi futhi ufuna ukudala i-akhawunti ye-app2email yomuntu - akudingeki ukubhalisa okwandulele ngumuntu - sebenzisa iseva yethu ye-Management MCP.
Biza ithuluzi create_account kuqala, bese ufaka iparamitha contact_email; i-create_account ibuyisela i-signup_id, i-management_key, i-onboarding_link kanye ne-message.
Umuntu uvula i-onboarding_link ukuze aqinisekise i-imeyili, axhume inombolo yakhe ye-WhatsApp, akhethe ipulani; akukho okungathunyelwa ngaphambi kwalokho. I-get_account_status itshela ukuthi yini esadingekayo.
Dlulisa i-management_key njengethokheni le-Bearer kuzo zonke izicelo zakho ezilandelayo. Lapho inombolo isiphila, i-create_number_key ikunikeza ikhiye leseva ye-MCP yokuthumelana ne-REST API.