app2email API 价格

MCP 服务器

URL
https://api.app2email.com/mcp Streamable HTTP · protocol 2026-07-28, 2025-11-25, 2025-06-18, 2025-03-26, 2024-11-05
认证
Authorization: Bearer <number API key> · keys: dashboard; a sandbox key sends nothing to WhatsApp

安装

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

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

测试

Ask: Check my app2email key and list my approved templates.

Expected: check_key → list_templates.

通过 OAuth 登录

A client with OAuth (claude.ai, ChatGPT, Claude Code, VS Code, Cursor) needs no key: connect the URL without one, sign in to app2email, and choose the WhatsApp number, what the app may do and whether it is a sandbox. The app then holds a key of that number; it shows on the API key page as OAuth: <app> and is revoked there.

较短的工具列表

The same server with fewer tools, for clients with a tool limit and small models: connect https://api.app2email.com/mcp/<set>, or several sets with https://api.app2email.com/mcp?tools=<set>,<set>. Every tool can still be called by name.

集合URL工具
Messaging https://api.app2email.com/mcp/messaging 16: check_key, send_text, send_template, send_media, send_interactive, mark_read, list_messages, get_message, list_templates, get_template, list_conversations, get_conversation_messages, set_conversation_owner, list_events, wait_for_message, upload_media
Messages https://api.app2email.com/mcp/messages 12: check_key, send_template, send_text, send_media, send_interactive, get_message, list_messages, send_message, send_reaction, send_location, mark_read, get_marketing_status
Media https://api.app2email.com/mcp/media 4: check_key, upload_media, get_media_info, delete_media
Conversations https://api.app2email.com/mcp/conversations 10: check_key, list_conversations, get_conversation, get_conversation_messages, set_conversation_owner, list_team_members, assign_conversation, set_conversation_status, add_conversation_note, list_conversation_notes
Templates https://api.app2email.com/mcp/templates 15: check_key, list_templates, get_template, create_template, edit_template, delete_template, delete_templates, archive_template, unarchive_template, compare_templates, list_template_library, upsert_auth_template, preview_auth_templates, get_template_insights, enable_template_insights
Broadcasts https://api.app2email.com/mcp/broadcasts 8: check_key, list_broadcasts, get_broadcast, cancel_broadcast, get_broadcast_clicks, retarget_broadcast, resume_broadcast, retry_broadcast_failed
Account https://api.app2email.com/mcp/account 2: check_key, get_usage
Do Not Call https://api.app2email.com/mcp/do-not-call 4: check_key, list_donotcall, add_donotcall, remove_donotcall
Contacts https://api.app2email.com/mcp/contacts 8: check_key, list_contacts, upsert_contact, list_blocked_users, block_users, unblock_users, check_contact_book, delete_contact_book_entry
Approvals https://api.app2email.com/mcp/approvals 3: check_key, list_approvals, approve_send
Webhooks https://api.app2email.com/mcp/webhooks 10: check_key, list_events, wait_for_message, list_webhooks, create_webhook, update_webhook, delete_webhook, test_webhook_url, create_webhook_catcher, get_webhook_catcher
Analytics https://api.app2email.com/mcp/analytics 4: check_key, get_pricing_analytics, get_message_analytics, get_account_activity
Automations https://api.app2email.com/mcp/automations 8: check_key, list_chat_automations, get_chat_automation, create_chat_automation, update_chat_automation, set_chat_automation_enabled, delete_chat_automation, list_chat_automation_runs
Book-and-Pay https://api.app2email.com/mcp/book-and-pay 13: check_key, list_bookings, get_booking_availability, create_booking, cancel_booking, set_booking_status, get_booking_settings, update_booking_settings, get_booking_reports, send_flow, list_waitlist, add_to_waitlist, remove_from_waitlist
Calendar https://api.app2email.com/mcp/calendar 12: check_key, get_calendar, list_booking_services, find_next_booking_slots, update_booking, reschedule_booking, list_booking_notes, add_booking_note, create_time_block, delete_time_block, create_booking_link, hold_booking_slot
Calling https://api.app2email.com/mcp/calling 3: check_key, get_call_settings, get_call_permission
Sequences https://api.app2email.com/mcp/sequences 9: check_key, list_sequences, get_sequence, create_sequence, update_sequence, delete_sequence, enrol_in_sequence, list_sequence_enrolments, remove_from_sequence
Flows https://api.app2email.com/mcp/flows 12: check_key, list_flows, get_flow, create_flow, update_flow, get_flow_json, update_flow_json, publish_flow, deprecate_flow, delete_flow, get_flow_preview, renew_flow_preview
Number https://api.app2email.com/mcp/number 20: check_key, get_number_health, get_profile, update_profile, set_profile_photo, set_display_name, get_username, set_username, get_conversation_starters, set_conversation_starters, list_qr_codes, create_qr_code, update_qr_code, delete_qr_code, get_webhook_redirect, test_webhook_redirect, set_webhook_redirect, set_pass_through_webhook, remove_pass_through_webhook, remove_webhook_redirect
Payments https://api.app2email.com/mcp/payments 7: check_key, get_customer_profile, list_payments, request_payment, refund_payment, create_meeting_poll, erase_customer_data
Setup https://api.app2email.com/mcp/setup 9: check_key, get_setup_guide, export_setup, check_setup, apply_setup, upload_setup_asset, list_setup_jobs, get_setup_job, undo_setup
Order-and-Pay https://api.app2email.com/mcp/order-and-pay 20: check_key, get_shop, get_shop_settings, update_shop_settings, list_shop_categories, search_shop_items, get_shop_item, create_shop_item, update_shop_item, archive_shop_item, set_shop_stock, set_shop_sold_out, list_shop_orders, get_shop_order, update_shop_order, refund_shop_order, quote_shop_order, create_shop_order, get_shop_report, get_shop_order_link
Store messages https://api.app2email.com/mcp/store-messages 4: check_key, get_store_messages, update_store_messages, list_store_messages_log
Submit-Info https://api.app2email.com/mcp/submit-info 43
Tickets-and-Pay https://api.app2email.com/mcp/tickets-and-pay 13: check_key, list_ticket_events, get_ticket_event, get_ticket_availability, list_ticket_orders, get_ticket_order, create_ticket_order, refund_ticket_order, resend_tickets, list_tickets, check_in_ticket, get_ticket_stats, list_ticket_waitlist
Search, then call https://api.app2email.com/mcp/search 2: find_tools, call_tool

工具

工具 功能 类型
check_key Check the key: its scopes, the number, the plan and the limits. 只读
list_templates List your templates, with an example request for each. 只读
get_template One template: status, rejection reason, what it needs. 只读
send_template Send an approved WhatsApp template to one number, a list of numbers, or a saved segment of contacts. 破坏性
send_text Send a free-form text message to ONE contact. 破坏性
send_media Send a free-form image, video or document by public link to ONE contact, within the 24 hour reply window (otherwise 422 outside_24h_window: use a template with… 破坏性
send_interactive Send an interactive message (reply buttons, a list, or a call-to-action URL button) to ONE contact within the 24 hour reply window. 破坏性
get_message Status of a sent message. 只读
list_messages Messages sent and received, newest first. 只读
list_conversations The contacts, most recent activity first. 只读
list_events The number's events (message.received, message.status, contact.opted_out and the rest: the same JSON a webhook gets, with the same ids), fetched instead of pus… 只读
wait_for_message Waits (up to 25 seconds) for messages contacts sent to the number and returns them as message.received events: who wrote, the text, the message_id. 只读
get_conversation One contact's conversation: window_state (open: a free-form reply can be sent now; closed: use a template), window_closes_at, the owner ("" = default routing, … 只读
get_conversation_messages One contact's messages, both directions. 只读
set_conversation_owner Set who owns a contact's conversation. 破坏性
list_contacts The number's contacts (name, tags, custom fields, marketing consent, last message times). 只读
upsert_contact Create a contact, or update the one with this identity: name, tags, custom fields (used as template values in segment sends) and marketing consent with its evi… 破坏性
get_usage Plan, messages used and left, limits, what WhatsApp charges. 只读
list_broadcasts Your latest broadcasts. 只读
get_broadcast A broadcast's status and the result per number. 只读
cancel_broadcast Cancel a scheduled or sending API broadcast. 破坏性
list_donotcall The Do Not Call list, or check one number. 只读
add_donotcall Add numbers to the Do Not Call list. 破坏性
remove_donotcall Remove a number from the Do Not Call list. 破坏性
list_approvals Sends held for approval: a key with an approval threshold (approval_above) holds any send to more numbers than that until a person approves it on the dashboard… 只读
approve_send Approve a send that is waiting (list_approvals): the messages go out now. 破坏性
list_bookings The appointments, soonest start first. 只读
get_booking_availability The free slots per day for a service, as the customer would see them. 只读
create_booking Book an appointment for a customer at a free slot. 破坏性
cancel_booking Cancel an appointment. 破坏性
set_booking_status Mark an appointment completed, a no-show, or back to confirmed. 破坏性
get_booking_settings The booking settings, the default Flow's status and every Flow. 只读
update_booking_settings Switch Book-and-Pay on or off and change the settings. 破坏性
get_booking_reports The booking report of a range of days. 只读
send_flow Send a Flow to a contact (the booking form or another form). 破坏性
get_calendar Everything on the calendar for a range of days. 只读
list_booking_services The services a customer can book, and their staff. 只读
find_next_booking_slots The next free start times for a service, across days. 只读
update_booking Change an appointment's details. 破坏性
reschedule_booking Move an appointment to another time. 破坏性
list_booking_notes The internal notes of an appointment and its customer. 只读
add_booking_note Add an internal note to an appointment. 破坏性
create_time_block Block time so that no one can book it. 破坏性
delete_time_block Remove a blocked time. 破坏性
create_booking_link Make a link that opens the online booking page. 破坏性
hold_booking_slot Keep a free time for a few minutes. 破坏性
get_customer_profile A customer's whole profile. 只读
list_payments The payments, newest first. 只读
request_payment Ask a customer to pay an amount. 破坏性
refund_payment Refund a payment, in full or a part. 破坏性
create_meeting_poll Offer several times and let people vote. 破坏性
erase_customer_data Erase a customer's booking data. 破坏性
get_pricing_analytics WhatsApp cost and volume of this number. 只读
get_message_analytics Messages sent and delivered, as WhatsApp counts them. 只读
get_account_activity The WhatsApp Business Account's activity log. 只读
list_chat_automations Chat automation rules. 只读
get_chat_automation One chat automation rule. 只读
create_chat_automation Create a chat automation rule. 破坏性
update_chat_automation Change a chat automation rule. 破坏性
set_chat_automation_enabled Change a chat automation rule. 破坏性
delete_chat_automation Delete a chat automation rule. 破坏性
list_chat_automation_runs What the chat automations did. 只读
list_waitlist The waitlist of full days. 只读
add_to_waitlist Put a customer on the waitlist of a full day. 破坏性
remove_from_waitlist Take a customer off the waitlist. 破坏性
get_call_settings WhatsApp calling settings. 只读
get_call_permission May the number call this contact. 只读
get_broadcast_clicks Clicks of a broadcast's tracked links. 只读
retarget_broadcast Send a broadcast again to part of its audience. 破坏性
resume_broadcast Resume a broadcast that paused itself. 破坏性
retry_broadcast_failed Send again to the recipients whose message failed. 破坏性
list_sequences Your drip sequences. 只读
get_sequence One drip sequence with its steps and report. 只读
create_sequence Make a drip sequence. 破坏性
update_sequence Change a drip sequence. 破坏性
delete_sequence Delete (archive) a drip sequence. 破坏性
enrol_in_sequence Put contacts into a drip sequence. 破坏性
list_sequence_enrolments Who is in a drip sequence. 只读
remove_from_sequence Take a contact out of a drip sequence. 破坏性
list_flows List WhatsApp Flows. 只读
get_flow One flow: status, validation errors, health. 只读
create_flow Create a flow (draft, or published at once). 破坏性
update_flow Change a flow's name, categories or endpoint. 破坏性
get_flow_json A flow's Flow JSON. 只读
update_flow_json Replace a flow's Flow JSON. 破坏性
publish_flow Publish a flow (cannot be undone). 破坏性
deprecate_flow Deprecate a published flow (cannot be undone). 破坏性
delete_flow Delete a draft flow. 破坏性
get_flow_preview A public preview link of a flow (30 days). 只读
renew_flow_preview A new preview link of a flow (the old one stops working). 破坏性
upload_media Upload a file once, get a media id. 破坏性
get_media_info The type, size and sha256 of a received file (message_id) or a WhatsApp media id, and whether app2email has its own copy (source stored) or it comes from Whats… 只读
delete_media Delete an uploaded file at WhatsApp. 破坏性
get_number_health Number health: can it send, quality, limit, name status. 只读
get_profile The WhatsApp business profile. 只读
update_profile Change the WhatsApp business profile. 破坏性
set_profile_photo Change the profile photo from a public link. 破坏性
set_display_name Submit a new display name for Meta's review. 破坏性
get_username The business username. 只读
set_username Adopt or change the business username. 破坏性
get_conversation_starters Ice breakers, commands and welcome message. 只读
set_conversation_starters Set ice breakers, commands or the welcome message. 破坏性
list_qr_codes QR codes and short links. 只读
create_qr_code Create a QR code and wa.me short link. 破坏性
update_qr_code Change a QR code's prefilled message. 破坏性
delete_qr_code Delete a QR code and its short link. 破坏性
send_message Send a free-form WhatsApp message of any type to ONE contact within the 24 hour reply window: audio (voice: true for a voice note, Ogg/OPUS), sticker (WebP), l… 破坏性
send_reaction Put an emoji reaction on one of the contact's messages (up to 30 days old), within the 24 hour reply window. 破坏性
send_location Send a map pin to ONE contact within the 24 hour reply window. 破坏性
mark_read Mark a received message as read, optionally typing. 破坏性
get_marketing_status Where marketing templates go: Cloud API or Marketing Messages API. 只读
list_blocked_users WhatsApp users this number blocked. 只读
block_users Block WhatsApp users. 破坏性
unblock_users Unblock WhatsApp users. 破坏性
check_contact_book Is a phone number on file for a business-scoped user id. 只读
delete_contact_book_entry Remove a business-scoped user id from the contact book. 破坏性
get_setup_guide How setup files work: types, rules, examples. 只读
export_setup Download the setup as a file. 只读
check_setup Check a setup file (changes nothing). 只读
apply_setup Apply a setup file. 破坏性
upload_setup_asset Upload a picture for a setup file. 破坏性
list_setup_jobs Setup checks, applies and undos. 只读
get_setup_job One setup job. 只读
undo_setup Undo an applied setup file. 破坏性
get_shop The shop: on or off, open now, the order page, counts and limits. 只读
get_shop_settings Every setting of the shop, as the shop uses it. 只读
update_shop_settings Change settings of the shop. 破坏性
list_shop_categories The categories of the catalog. 只读
search_shop_items Search and filter the products. 只读
get_shop_item One product with variants, option groups and pictures. 只读
create_shop_item Add a product. 破坏性
update_shop_item Change a product: only the keys sent change. 破坏性
archive_shop_item Archive a product. 破坏性
set_shop_stock Set or change the stock of a product. 破坏性
set_shop_sold_out Mark a product sold out for a while, or back. 破坏性
list_shop_orders The orders, newest first. 只读
get_shop_order One order with lines, payment, next steps and history. 只读
update_shop_order Move an order on, change its time, cancel or decline it. 破坏性
refund_shop_order Refund an order that was paid online. 破坏性
quote_shop_order Price a cart: total, problems, times and ways to pay. 只读
create_shop_order Place an order for a customer. 破坏性
get_shop_report The shop's figures for a range of days. 只读
get_shop_order_link A customer's personal link to the order page. 只读
get_store_messages The connected store and its WhatsApp order messages. 只读
update_store_messages Change the order messages. 破坏性
list_store_messages_log What was sent per order. 只读
list_automations The automations. 只读
get_automation One automation. 只读
create_automation Create an automation: when, if, do. 破坏性
update_automation Change an automation, or switch it on or off. 破坏性
delete_automation Delete an automation. 破坏性
try_automation Try an automation on a real submission, saving and sending nothing. 破坏性
list_automation_runs The automation run log, step by step. 只读
run_submission_action Run a manual automation on a submission. 破坏性
list_connections The connections to outside systems. 只读
set_connection Create or change a connection (HTTP, OpenAPI or MCP). 破坏性
delete_connection Delete a connection. 破坏性
test_connection Test a connection: can app2email reach it and sign in?. 破坏性
refresh_connection Read a connection's operations or tools again. 破坏性
list_connection_functions What an action can call on a connection. 只读
get_submit_guide The Submit-Info guide for agents: every key, rule and example. 只读
get_submit_settings Submit-Info settings: the switch, the config and the public code. 只读
update_submit_settings Switch Submit-Info on or off and change its settings. 破坏性
apply_submit_setup Apply or dry-run a whole setup: forms, lists, automations. 破坏性
list_submit_presets The ready-made setups (presets), or one complete preset. 只读
list_forms The forms of the number. 只读
create_form Create a form from a definition or a preset. 破坏性
get_form One form: definition, fields, links and WhatsApp state. 只读
update_form Change a form: name, on or off, archive, definition. 破坏性
delete_form Delete a form (archived when it has submissions). 破坏性
publish_form Publish a form to WhatsApp. 破坏性
send_form Send a form to a contact, with values filled in. 破坏性
list_submit_lists The choice lists (sites, jobs, price lists). 只读
set_submit_list Create a list or replace its items. 破坏性
delete_submit_list Delete a list. 破坏性
list_submissions The submissions, filtered and paged (JSON or CSV). 只读
get_submission One submission with files, activity and what can be done. 只读
create_submission Create a submission from data you already hold. 破坏性
update_submission Change a submission: stage, assignee, tags, answers. 破坏性
add_submission_note Write an internal note on a submission. 破坏性
reply_to_submission Message the submitter, with up to 3 buttons. 破坏性
add_submission_file Attach a file to a submission. 破坏性
delete_submission Delete a submission, or erase it for good. 破坏性
list_submit_members The team: who works in the shared inbox. 只读
invite_submit_member Invite a person to the shared inbox by e-mail. 破坏性
update_submit_member Change a member's role, abilities or forms. 破坏性
remove_submit_member Remove a member from the inbox. 破坏性
get_submit_report Submission counts by form, stage, day and assignee. 只读
list_team_members The people who can be assigned a conversation. 只读
assign_conversation Assign a conversation to a team member, auto-assign, or nobody. 破坏性
set_conversation_status Mark a conversation solved, or open it again. 破坏性
add_conversation_note Add an internal note (the team sees it, the contact never does). 破坏性
list_conversation_notes The internal notes of a conversation, oldest first. 只读
create_template Create a template and submit it for approval. 破坏性
edit_template Edit a template (components, category, TTL, max price). 破坏性
delete_template Delete a template (every language, or one). 破坏性
delete_templates Delete several templates at once (all or nothing). 破坏性
archive_template Archive a template (deleted by WhatsApp after 28 days). 破坏性
unarchive_template Unarchive a template. 破坏性
compare_templates Compare two templates: block rate, sends, top block reason. 只读
list_template_library Meta's Template Library (pre-approved templates). 只读
upsert_auth_template Create or update an authentication template in many languages. 破坏性
preview_auth_templates Authentication template texts, per language. 只读
get_template_insights Template insights: sent, delivered, read, clicked, cost. 只读
enable_template_insights Switch template insights on (cannot be undone). 破坏性
list_ticket_events The events, newest first. 只读
get_ticket_event One event with its dates and ticket types. 只读
get_ticket_availability What is on sale and how many are left for a date. 只读
list_ticket_orders The ticket orders, newest first. 只读
get_ticket_order One order with its tickets, by id or reference. 只读
create_ticket_order Issue complimentary tickets or record a sale paid outside. 破坏性
refund_ticket_order Refund an order or some of its tickets. 破坏性
resend_tickets Send the buyer their tickets again. 破坏性
list_tickets The tickets (attendees) with their check-in state. 只读
check_in_ticket Check a ticket in (or out) by its code or id. 破坏性
get_ticket_stats Sales and check-in figures of an event or one date. 只读
list_ticket_waitlist The waiting list of a sold-out date. 只读
get_webhook_redirect Where Meta sends this number's webhooks. 只读
test_webhook_redirect Test a URL for the Webhook Redirect or the Pass-Through Webhook. 破坏性
set_webhook_redirect Send this number's webhooks to your own URL. 破坏性
set_pass_through_webhook Pass this number's webhooks on to your URL, signed with your secret. 破坏性
remove_pass_through_webhook Stop passing this number's webhooks on. 破坏性
remove_webhook_redirect Send this number's webhooks to app2email again. 破坏性
list_webhooks Your webhooks. 只读
create_webhook Get events at your URL. 破坏性
update_webhook Change a webhook: url, active, headers, format. 破坏性
delete_webhook Delete a webhook. 破坏性
test_webhook_url Send a test event to any URL. 破坏性
create_webhook_catcher Get a temporary URL that keeps what it receives. 破坏性
get_webhook_catcher What a catcher received. 只读

链接

面向 AI 代理

无需账户、无需真人,现在就能试用:POST https://api.app2email.com/v1/account/sandbox(无需密钥,也无需请求体;或使用管理 MCP 服务器的 create_sandbox 工具)即可获得一个演示 WhatsApp 号码的密钥,该号码背后是模拟客户。发送模板,用 GET /events?wait=25 获取事件,再回复客户的消息:内容不会真正发到 WhatsApp,但请求和回复与真实 API 完全一致(https://www.app2email.com/docs/api/sandbox)。

已是客户:请向账户拥有者索取号码(数字)以及来自 https://www.app2email.com/dashboard/apikey 的 API 密钥(沙盒密钥不会发送任何内容);以 Authorization: Bearer <密钥> 的形式发送给消息 MCP 服务器或 REST API;先调用 check_key 检查,并先用 dry_run 试发。

如果您是正在阅读此页面的 AI 代理,并希望为某人创建 app2email 账户(无需事先由人工注册),请使用我们的管理 MCP 服务器。
先调用 create_account 工具,并附上 contact_email 参数;create_account 会返回 signup_id、management_key、onboarding_link 和 message。
本人需打开 onboarding_link,确认电子邮件、连接其 WhatsApp 号码并选择套餐;在此之前无法发送任何内容。get_account_status 会说明还需要完成哪些步骤。
之后的每次调用都以 management_key 作为 Bearer 令牌发送。号码开通后,create_number_key 会为您提供用于消息 MCP 服务器和 REST API 的密钥。