app2email API 价格

Tickets-and-Pay

Event tickets: events with one or many dates, ticket types and extras, what is left, orders and refunds, the tickets with their check-in state, promo codes, the waiting list and door lists. Create a key with the permission Event tickets on the API keys page. Your systems can list events and what is left, find an order, issue complimentary tickets or record a sale paid at your till, refund, send tickets again, and check tickets in from your own scanner. Eight webhook events report an order confirmed or refunded, a ticket checked in or passed on, a date sold out or cancelled, a waiting-list entry and an erased buyer. AI assistants can do the same through the hosted MCP server. Sandbox keys can read but cannot issue, refund or check in.

方法 路径 摘要 权限 沙盒
GET /v1/{number}/tickets/events The events, newest first tickets:manage 读取
POST /v1/{number}/tickets/events Create an event as a draft with one date and one ticket type tickets:manage 拒绝
GET /v1/{number}/tickets/events/{id} One event with its dates and ticket types tickets:manage 读取
PATCH /v1/{number}/tickets/events/{id} Change an event tickets:manage 拒绝
POST /v1/{number}/tickets/events/{id}/publish Publish an event so tickets can be bought tickets:manage 拒绝
POST /v1/{number}/tickets/events/{id}/cancel Cancel an event and refund or void its tickets tickets:manage 拒绝
GET /v1/{number}/tickets/events/{id}/dates The dates of an event with what is sold and left tickets:manage 读取
POST /v1/{number}/tickets/events/{id}/dates Add a date to an event tickets:manage 拒绝
PATCH /v1/{number}/tickets/dates/{date_id} Change a date: time, label, capacity, sales on or paused tickets:manage 拒绝
POST /v1/{number}/tickets/dates/{date_id}/cancel Cancel one date and refund or void its tickets tickets:manage 拒绝
GET /v1/{number}/tickets/dates/{date_id}/door The door list of a date for your own scanner tickets:manage 读取
GET /v1/{number}/tickets/events/{id}/types The ticket types and extras of an event tickets:manage 读取
POST /v1/{number}/tickets/events/{id}/types Add a ticket type or an extra to an event tickets:manage 拒绝
PATCH /v1/{number}/tickets/types/{type_id} Change or archive a ticket type tickets:manage 拒绝
GET /v1/{number}/tickets/events/{id}/availability What is on sale and how many are left for a date tickets:manage 读取
GET /v1/{number}/tickets/orders The ticket orders, newest first tickets:manage 读取
POST /v1/{number}/tickets/orders Issue complimentary tickets or record a sale paid outside tickets:manage 拒绝
GET /v1/{number}/tickets/orders/{id} One order with its tickets, by id or reference tickets:manage 读取
POST /v1/{number}/tickets/orders/{id}/refund Refund an order or some of its tickets tickets:manage 拒绝
POST /v1/{number}/tickets/orders/{id}/resend Send the buyer their tickets again tickets:manage 拒绝
GET /v1/{number}/tickets/issued The tickets (attendees) with their check-in state tickets:manage 读取
GET /v1/{number}/tickets/issued/{id} One ticket tickets:manage 读取
POST /v1/{number}/tickets/issued/{id}/void Void one ticket without a refund tickets:manage 拒绝
POST /v1/{number}/tickets/check-ins Check a ticket in (or out) by its code or id tickets:manage 拒绝
POST /v1/{number}/tickets/check-ins/{scan_id}/undo Take a check-in back tickets:manage 拒绝
GET /v1/{number}/tickets/codes The promo and access codes with their uses tickets:manage 读取
POST /v1/{number}/tickets/codes Create a promo or access code tickets:manage 拒绝
PATCH /v1/{number}/tickets/codes/{id} Change a promo code or switch it off tickets:manage 拒绝
DELETE /v1/{number}/tickets/codes/{id} Delete a promo code no order has used tickets:manage 拒绝
GET /v1/{number}/tickets/waitlist The waiting list of a sold-out date tickets:manage 读取
GET /v1/{number}/tickets/stats Sales and check-in figures of an event or one date tickets:manage 读取
GET /v1/{number}/settings/tickets The ticket settings and whether ticket sales are switched on tickets:manage 读取
PUT /v1/{number}/settings/tickets Switch ticket sales on or off and change the settings tickets:manage 拒绝
面向 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 的密钥。