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(不需要金鑰,也不需要內容;或使用 Management 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 帳戶(不需要事先由人手註冊),請使用我們的 Management 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 的金鑰。