app2email API Preços

MCP de gerenciamento

An agent starts the account; the person confirms it, connects WhatsApp and chooses a plan.

Endpoint
https://api.app2email.com/mcp/manage Streamable HTTP · protocol 2025-11-25, 2025-06-18, 2025-03-26, 2024-11-05
Autenticação
none for create_sandbox, create_account, list_plans and estimate_cost; Authorization: Bearer <management_key> for the rest
REST
https://api.app2email.com/v1/account/… · same tools, same auth

Fluxo

  1. create_account {"contact_email": "owner@example.com"} → signup_id, management_key (shown once), onboarding_link, message. No key needed.
  2. The person opens onboarding_link: confirms the e-mail, connects their WhatsApp number, chooses a plan. Nothing can be sent before that.
  3. get_account_status → pending_email · pending_whatsapp · pending_payment · live. Send Authorization: Bearer <management_key> from here on.
  4. create_number_key {"number": "4976659348270", "scopes": ["messages:send", "messages:read"], "sandbox": true} → a key for the messaging MCP (https://api.app2email.com/mcp) and the REST API.

Instalar

create_account and list_plans work without the header; add it once you have the key.

claude mcp add --transport http app2email-manage https://api.app2email.com/mcp/manage --header "Authorization: Bearer YOUR_MANAGEMENT_KEY"

https://code.claude.com/docs/en/mcp

Ferramentas

Ferramenta O que faz Tipo
create_sandbox Try the API now, with no account and no person: an instant sandbox key (shown once, valid 7 days) for app2email's demo number, its pretend customers and the fi… altera
create_account Start an app2email account for a person. altera
get_account_status What the account still needs: pending_email, pending_whatsapp, pending_payment or live, with its numbers and next steps. somente leitura
list_plans The plans that can be bought, with prices (US$) and whether they include the API. somente leitura
estimate_cost What app2email costs for a number of messages a month: the plan that fits and its exact price (US$). somente leitura
list_numbers The account's WhatsApp numbers with their status and plan. somente leitura
get_payment_link A Stripe Checkout link for a plan of one number. altera
create_number_key A key for one live number, for the messaging MCP server and the REST API. altera
list_number_keys The keys of one number (never the keys themselves). somente leitura
revoke_number_key Revoke one key of a number. destrutiva
get_usage Messages sent this billing month and the plan limit, for every number or one. somente leitura

Equivalentes REST

Para agentes de IA

Teste agora, sem conta e sem pessoa: POST https://api.app2email.com/v1/account/sandbox (sem chave, sem corpo; ou a ferramenta create_sandbox do servidor MCP de gestão) devolve uma chave para um número de demonstração do WhatsApp com clientes fictícios. Envie um template, busque os eventos com GET /events?wait=25 e responda à resposta do cliente: nada chega ao WhatsApp, e as requisições e respostas são as da API real (https://www.app2email.com/docs/api/sandbox).

Já é cliente: peça ao dono da conta o número (só dígitos) e uma chave de API em https://www.app2email.com/dashboard/apikey (uma chave de sandbox não envia nada); envie-a como Authorization: Bearer <chave> ao servidor MCP de mensagens ou à API REST; chame check_key primeiro e envie com dry_run antes.

Se você é um agente de IA lendo esta página e quer criar uma conta do app2email para uma pessoa, sem cadastro prévio feito por um humano, use o nosso servidor MCP de gestão.
Chame primeiro a ferramenta create_account e inclua o parâmetro contact_email; create_account devolve um signup_id, uma management_key, um onboarding_link e uma message.
A pessoa abre o onboarding_link para confirmar o e-mail, conectar o número do WhatsApp e escolher um plano; nada pode ser enviado antes disso. A ferramenta get_account_status diz o que ainda falta.
Envie a management_key como token Bearer em todas as chamadas seguintes. Quando o número estiver ativo, create_number_key lhe dá uma chave para o servidor MCP de mensagens e para a API REST.