app2email API Prezzi

Account management

All numbers of an account: agent sign-up, status, number keys, plans, payment links, usage, account keys. Account key (a2ea_...) or the management_key of create_account.

Metodo Percorso Riepilogo Ambito
POST /v1/account/sandbox Instant sandbox: try the API with no account qualsiasi chiave
POST /v1/account/signup Start an account for a person (agent sign-up) qualsiasi chiave
GET /v1/account Account status and what is still needed qualsiasi chiave
GET /v1/account/plans Plans that can be bought qualsiasi chiave
GET /v1/account/estimate Cost estimate for a number of messages a month qualsiasi chiave
GET /v1/account/numbers The account's WhatsApp numbers account:read
GET /v1/account/numbers/{number} One number of the account account:read
GET /v1/account/numbers/{number}/keys The keys of a number keys:manage
POST /v1/account/numbers/{number}/keys Create a key for a number keys:manage
DELETE /v1/account/numbers/{number}/keys/{key_id} Revoke a key of a number keys:manage
POST /v1/account/numbers/{number}/checkout Payment link for a plan of a number account:manage
GET /v1/account/usage Messages used this billing month, per number billing:read
GET /v1/account/keys Account keys account:manage
POST /v1/account/keys Create an account key account:manage
DELETE /v1/account/keys/{key_id} Revoke an account key account:manage
GET /v1/account/webhooks Account webhooks webhooks:manage
POST /v1/account/webhooks Add an account webhook webhooks:manage
PATCH /v1/account/webhooks/{id} Change an account webhook webhooks:manage
DELETE /v1/account/webhooks/{id} Delete an account webhook webhooks:manage
POST /v1/account/webhooks/{id}/test Send a test event to an account webhook webhooks:manage
POST /v1/account/webhooks/{id}/rotate-secret New signing secret for an account webhook webhooks:manage
GET /v1/account/webhooks/{id}/deliveries Deliveries of an account webhook webhooks:manage
GET /v1/account/webhooks/{id}/deliveries/{event_id} One delivery of an account webhook webhooks:manage
POST /v1/account/webhooks/{id}/deliveries/{event_id}/redeliver Send a stored event again to an account webhook webhooks:manage
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.