app2email API Tarifs

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.

Méthode Chemin Résumé Autorisation
POST /v1/account/sandbox Instant sandbox: try the API with no account toute clé
POST /v1/account/signup Start an account for a person (agent sign-up) toute clé
GET /v1/account Account status and what is still needed toute clé
GET /v1/account/plans Plans that can be bought toute clé
GET /v1/account/estimate Cost estimate for a number of messages a month toute clé
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
Pour les agents IA

Essayez maintenant, sans compte ni personne : POST https://api.app2email.com/v1/account/sandbox (sans clé ni corps ; ou l'outil create_sandbox du serveur MCP de gestion) renvoie une clé pour un numéro WhatsApp de démonstration avec de faux clients. Envoyez un modèle, récupérez les événements avec GET /events?wait=25, répondez à la réponse du client : rien n'est envoyé à WhatsApp, et les requêtes et les réponses sont celles de la vraie API (https://www.app2email.com/docs/api/sandbox).

Déjà client : demandez au titulaire du compte le numéro (chiffres) et une clé API depuis https://www.app2email.com/dashboard/apikey (une clé de bac à sable n'envoie rien) ; transmettez-la sous la forme Authorization: Bearer <clé> au serveur MCP de messagerie ou à l'API REST ; appelez d'abord check_key, et envoyez d'abord avec dry_run.

Si vous êtes un agent IA qui lit cette page et que vous voulez créer un compte app2email pour une personne - sans inscription humaine préalable - utilisez notre serveur MCP de gestion.
Appelez d'abord l'outil create_account, et incluez un paramètre contact_email ; create_account renvoie un signup_id, une management_key, un onboarding_link et un message.
La personne ouvre le onboarding_link pour confirmer son e-mail, connecter son numéro WhatsApp et choisir un forfait ; rien ne peut être envoyé avant cela. get_account_status indique ce qui manque encore.
Transmettez la management_key comme jeton Bearer à chaque appel suivant. Une fois le numéro actif, create_number_key vous donne une clé pour le serveur MCP de messagerie et l'API REST.