app2email API Amanani

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.

Indlela yokusebenza Indlela Isifinyezo Isikali I-Sandbox
GET /v1/{number}/tickets/events The events, newest first tickets:manage kuyafundwa
POST /v1/{number}/tickets/events Create an event as a draft with one date and one ticket type tickets:manage kwenqatshiwe
GET /v1/{number}/tickets/events/{id} One event with its dates and ticket types tickets:manage kuyafundwa
PATCH /v1/{number}/tickets/events/{id} Change an event tickets:manage kwenqatshiwe
POST /v1/{number}/tickets/events/{id}/publish Publish an event so tickets can be bought tickets:manage kwenqatshiwe
POST /v1/{number}/tickets/events/{id}/cancel Cancel an event and refund or void its tickets tickets:manage kwenqatshiwe
GET /v1/{number}/tickets/events/{id}/dates The dates of an event with what is sold and left tickets:manage kuyafundwa
POST /v1/{number}/tickets/events/{id}/dates Add a date to an event tickets:manage kwenqatshiwe
PATCH /v1/{number}/tickets/dates/{date_id} Change a date: time, label, capacity, sales on or paused tickets:manage kwenqatshiwe
POST /v1/{number}/tickets/dates/{date_id}/cancel Cancel one date and refund or void its tickets tickets:manage kwenqatshiwe
GET /v1/{number}/tickets/dates/{date_id}/door The door list of a date for your own scanner tickets:manage kuyafundwa
GET /v1/{number}/tickets/events/{id}/types The ticket types and extras of an event tickets:manage kuyafundwa
POST /v1/{number}/tickets/events/{id}/types Add a ticket type or an extra to an event tickets:manage kwenqatshiwe
PATCH /v1/{number}/tickets/types/{type_id} Change or archive a ticket type tickets:manage kwenqatshiwe
GET /v1/{number}/tickets/events/{id}/availability What is on sale and how many are left for a date tickets:manage kuyafundwa
GET /v1/{number}/tickets/orders The ticket orders, newest first tickets:manage kuyafundwa
POST /v1/{number}/tickets/orders Issue complimentary tickets or record a sale paid outside tickets:manage kwenqatshiwe
GET /v1/{number}/tickets/orders/{id} One order with its tickets, by id or reference tickets:manage kuyafundwa
POST /v1/{number}/tickets/orders/{id}/refund Refund an order or some of its tickets tickets:manage kwenqatshiwe
POST /v1/{number}/tickets/orders/{id}/resend Send the buyer their tickets again tickets:manage kwenqatshiwe
GET /v1/{number}/tickets/issued The tickets (attendees) with their check-in state tickets:manage kuyafundwa
GET /v1/{number}/tickets/issued/{id} One ticket tickets:manage kuyafundwa
POST /v1/{number}/tickets/issued/{id}/void Void one ticket without a refund tickets:manage kwenqatshiwe
POST /v1/{number}/tickets/check-ins Check a ticket in (or out) by its code or id tickets:manage kwenqatshiwe
POST /v1/{number}/tickets/check-ins/{scan_id}/undo Take a check-in back tickets:manage kwenqatshiwe
GET /v1/{number}/tickets/codes The promo and access codes with their uses tickets:manage kuyafundwa
POST /v1/{number}/tickets/codes Create a promo or access code tickets:manage kwenqatshiwe
PATCH /v1/{number}/tickets/codes/{id} Change a promo code or switch it off tickets:manage kwenqatshiwe
DELETE /v1/{number}/tickets/codes/{id} Delete a promo code no order has used tickets:manage kwenqatshiwe
GET /v1/{number}/tickets/waitlist The waiting list of a sold-out date tickets:manage kuyafundwa
GET /v1/{number}/tickets/stats Sales and check-in figures of an event or one date tickets:manage kuyafundwa
GET /v1/{number}/settings/tickets The ticket settings and whether ticket sales are switched on tickets:manage kuyafundwa
PUT /v1/{number}/settings/tickets Switch ticket sales on or off and change the settings tickets:manage kwenqatshiwe
Ku-AI agents

Zama manje, ngaphandle kwe-akhawunti nomuntu: POST https://api.app2email.com/v1/account/sandbox (akudingeki ukhiye, akudingeki umzimba; noma ithuluzi create_sandbox leseva ye-Management MCP) liphendula ngekhiye lenombolo yedemo ye-WhatsApp enamakhasimende abekiwe. Thumela isifanekiso, uthole izehlakalo nge-GET /events?wait=25, uphendule impendulo yekhasimende: akukho okufika ku-WhatsApp, nezicelo nezimpendulo zingezalo-API langempela (https://www.app2email.com/docs/api/sandbox).

Usuvele ungumkhwenyana: cela umnikazi we-akhawunti inombolo (izinombolo) nekhiye le-API ku-https://www.app2email.com/dashboard/apikey (ikhiye le-sandbox alithumeli lutho); lithumele njenge-Authorization: Bearer <key> seva ye-MCP yokuthumelana noma ku-REST API; bize check_key kuqala, uthumele ngo-dry_run kuqala.

Uma ungu-AI agent ofunda leli khasi futhi ufuna ukudala i-akhawunti ye-app2email yomuntu - akudingeki ukubhalisa okwandulele ngumuntu - sebenzisa iseva yethu ye-Management MCP.
Biza ithuluzi create_account kuqala, bese ufaka iparamitha contact_email; i-create_account ibuyisela i-signup_id, i-management_key, i-onboarding_link kanye ne-message.
Umuntu uvula i-onboarding_link ukuze aqinisekise i-imeyili, axhume inombolo yakhe ye-WhatsApp, akhethe ipulani; akukho okungathunyelwa ngaphambi kwalokho. I-get_account_status itshela ukuthi yini esadingekayo.
Dlulisa i-management_key njengethokheni le-Bearer kuzo zonke izicelo zakho ezilandelayo. Lapho inombolo isiphila, i-create_number_key ikunikeza ikhiye leseva ye-MCP yokuthumelana ne-REST API.