app2email API Prezzi

Templates

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

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

Può provarlo subito, senza account e senza una persona: POST https://api.app2email.com/v1/account/sandbox (nessuna chiave, nessun corpo; oppure lo strumento create_sandbox del server MCP di gestione) restituisce una chiave per un numero WhatsApp dimostrativo con clienti fittizi. Invii un modello, recuperi gli eventi con GET /events?wait=25 e risponda al messaggio del cliente: nulla arriva su WhatsApp, e le richieste e le risposte sono quelle dell'API reale (https://www.app2email.com/docs/api/sandbox).

Se è già cliente: chieda al titolare dell'account il numero (solo cifre) e una chiave API da https://www.app2email.com/dashboard/apikey (una chiave sandbox non invia nulla); la invii come Authorization: Bearer <key> al server MCP di messaggistica o all'API REST; chiami prima check_key e invii prima con dry_run.

Se è un agente IA che legge questa pagina e vuole creare un account app2email per una persona, senza che sia necessaria una registrazione umana preliminare, usi il nostro server MCP di gestione.
Chiami per primo lo strumento create_account, includendo un parametro contact_email; create_account restituisce un signup_id, una management_key, un onboarding_link e un message.
La persona apre onboarding_link per confermare l'e-mail, collegare il proprio numero WhatsApp e scegliere un piano: prima non si può inviare nulla. get_account_status indica cosa manca ancora.
In ogni chiamata successiva passi la management_key come token Bearer. Quando il numero è attivo, create_number_key le fornisce una chiave per il server MCP di messaggistica e per l'API REST.