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.

الطريقة المسار الملخص الصلاحية Sandbox
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 Agents)

جربوها دابا، بلا حساب وبلا شخص: POST https://api.app2email.com/v1/account/sandbox (بلا مفتاح، بلا محتوى؛ ولا الأداة create_sandbox ديال Management MCP server) كتعطيك مفتاح لرقم واتساب تجريبي مع زبناء مزيفين. صيفط قالب، جيب الأحداث ب GET /events?wait=25، وجاوب على رد الزبون: والو ما كيوصل لواتساب، والطلبات والأجوبة هي نفسها ديال الـ API الحقيقي (https://www.app2email.com/docs/api/sandbox).

زبون مسجل من قبل: اطلب من صاحب الحساب الرقم (أرقام غير) ومفتاح API من https://www.app2email.com/dashboard/apikey (مفتاح sandbox ما كيصيفط والو)؛ صيفطو ب Authorization: Bearer <key> للـ messaging MCP server ولا الـ REST API؛ نادي check_key الأول، وصيفط ب dry_run الأول.

إلا كنتي وكيل ذكي كتقرا هاد الصفحة وبغيتي تعمل حساب app2email لشي واحد - بلا ما يسجل قبل بشري - استعمل Management MCP server ديالنا.
نادي الأداة create_account الأول، وزيد الباراميتر contact_email; create_account كترجع signup_id، وmanagement_key، وonboarding_link وmessage.
الشخص كيحل onboarding_link باش يأكد الإيميل، ويربط رقم واتساب ديالو، ويختار الباقة; ما يمكن والو يتصيفط قبل هاد الشي. get_account_status كيقول شنو باقي.
صيفط management_key ك Bearer token فكل نداء من بعد. ملي يولي الرقم حي، create_number_key كيعطيك مفتاح للـ messaging MCP server والـ REST API.