app2email API Prezzi

Contacts

Contacts with tags, custom fields and consent records, and segments (saved filters) to send to.

Metodo Percorso Riepilogo Ambito Sandbox
GET /v1/{number}/contacts Your contacts, newest first messages:read lettura
POST /v1/{number}/contacts Make or update contacts (one, or a list of up to 1000) contacts:manage modifica reale
POST /v1/{number}/contacts/import Import contacts from CSV or JSON (up to 5000 rows) contacts:manage modifica reale
GET /v1/{number}/contacts/export.csv All contacts as CSV messages:read lettura
GET /v1/{number}/contacts/{identity} One contact messages:read lettura
PATCH /v1/{number}/contacts/{identity} Change a contact contacts:manage modifica reale
DELETE /v1/{number}/contacts/{identity} Delete a contact record contacts:manage simulato
POST /v1/{number}/contacts/{identity}/consent Record consent (or its withdrawal) with evidence contacts:manage modifica reale
GET /v1/{number}/segments Your segments (saved contact filters) messages:read lettura
POST /v1/{number}/segments Save a contact filter as a segment contacts:manage modifica reale
GET /v1/{number}/segments/{id} One segment, with how many contacts match now messages:read lettura
PUT /v1/{number}/segments/{id} Rename a segment or replace its filter contacts:manage modifica reale
DELETE /v1/{number}/segments/{id} Delete a segment (its contacts stay) contacts:manage modifica reale
GET /v1/{number}/segments/{id}/contacts The contacts a segment matches now messages:read lettura
GET /v1/{number}/blocked WhatsApp users this number blocked messages:read lettura
POST /v1/{number}/blocked Block WhatsApp users contacts:manage rifiutato
DELETE /v1/{number}/blocked Unblock WhatsApp users contacts:manage rifiutato
GET /v1/{number}/contact-book/{bsuid} Is a phone number on file for a business-scoped user id messages:read lettura
DELETE /v1/{number}/contact-book/{bsuid} Remove a business-scoped user id from the contact book contacts: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.