app2email API Iye Owó

Management MCP

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
Ìmúdájú
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

Ìṣàn

  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.

Fi sori ẹ̀rọ

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

Àwọn irinṣẹ́

Irinṣẹ́ Kí ni Irú
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… ó ń yí padà
create_account Start an app2email account for a person. ó ń yí padà
get_account_status What the account still needs: pending_email, pending_whatsapp, pending_payment or live, with its numbers and next steps. kíkà nìkan
list_plans The plans that can be bought, with prices (US$) and whether they include the API. kíkà nìkan
estimate_cost What app2email costs for a number of messages a month: the plan that fits and its exact price (US$). kíkà nìkan
list_numbers The account's WhatsApp numbers with their status and plan. kíkà nìkan
get_payment_link A Stripe Checkout link for a plan of one number. ó ń yí padà
create_number_key A key for one live number, for the messaging MCP server and the REST API. ó ń yí padà
list_number_keys The keys of one number (never the keys themselves). kíkà nìkan
revoke_number_key Revoke one key of a number. ó ń pa run
get_usage Messages sent this billing month and the plan limit, for every number or one. kíkà nìkan

Àwọn ìbejì REST

Fún Àwọn Aṣojú AI

Gbìyànjú báyìí, láìsí àkọọ́lẹ̀ tàbí ẹnikẹ́ni: POST https://api.app2email.com/v1/account/sandbox (kò nílò kọ́kọ́rọ̀, kò nílò ara ìbéèrè; tàbí irinṣẹ́ create_sandbox ti Management MCP server) yóò fún ọ ní kọ́kọ́rọ̀ fún nọ́ńbà WhatsApp àdánwò pẹ̀lú àwọn oníbàárà èké. Fi àwòṣe ránṣẹ́, gba àwọn ìṣẹ̀lẹ̀ pẹ̀lú GET /events?wait=25, dá ìdáhùn oníbàárà padà: kò sí nǹkan kan tí yóò dé WhatsApp, àwọn ìbéèrè àti ìdáhùn sì jẹ́ ti API gidi (https://www.app2email.com/docs/api/sandbox).

Tí o ti jẹ́ oníbàárà: béèrè nọ́ńbà (àwọn nọ́ńbà nìkan) àti kọ́kọ́rọ̀ API láti ọ̀dọ̀ onílé àkọọ́lẹ̀ náà ní https://www.app2email.com/dashboard/apikey (kọ́kọ́rọ̀ sandbox kò fi nǹkan ránṣẹ́); fi ránṣẹ́ gẹ́gẹ́ bí Authorization: Bearer <key> sí messaging MCP server tàbí REST API; pe check_key ní àkọ́kọ́, kí o sì fi dry_run ránṣẹ́ ní àkọ́kọ́.

Tí o jẹ́ aṣojú AI tí ó ń ka ojú-ìwé yìí, tí o sì fẹ́ ṣẹ̀dá àkọọ́lẹ̀ app2email fún ẹnìkan - kò sí ìforúkọsílẹ̀ ẹ̀dá ènìyàn tí a nílò ṣáájú - lo Management MCP server wa.
Pe irinṣẹ́ create_account ní àkọ́kọ́, kí o sì fi paramita contact_email kún un; create_account yóò dá signup_id, management_key, onboarding_link àti message padà.
Enìyàn náà ṣí onboarding_link láti jẹ́risi i-meèlì, so nọ́ńbà WhatsApp rẹ̀ pọ̀, kí ó sì yan ètò kan; kò sí nǹkan tí a lè fi ránṣẹ́ ṣáájú ìgbà yẹn. get_account_status sọ ohun tí ó ṣì nílò.
Fi management_key ránṣẹ́ gẹ́gẹ́ bí Bearer token nínú gbogbo ìpè tó tẹ̀lé. Nígbà tí nọ́ńbà náà bá ti wà láàyè, create_number_key yóò fún ọ ní kọ́kọ́rọ̀ fún messaging MCP server àti REST API.