app2email API Prezzi

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.

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

Può provarlo subito, senza account e senza una persona: POST https://api.app2email.com/v1/account/sandbox (nessuna chiave, nessun corpo; oppure lo strumento create_sandbox del server MCP di gestione) restituisce una chiave per un numero WhatsApp dimostrativo con clienti fittizi. Invii un modello, recuperi gli eventi con GET /events?wait=25 e risponda al messaggio del cliente: nulla arriva su WhatsApp, e le richieste e le risposte sono quelle dell'API reale (https://www.app2email.com/docs/api/sandbox).

Se è già cliente: chieda al titolare dell'account il numero (solo cifre) e una chiave API da https://www.app2email.com/dashboard/apikey (una chiave sandbox non invia nulla); la invii come Authorization: Bearer <key> al server MCP di messaggistica o all'API REST; chiami prima check_key e invii prima con dry_run.

Se è un agente IA che legge questa pagina e vuole creare un account app2email per una persona, senza che sia necessaria una registrazione umana preliminare, usi il nostro server MCP di gestione.
Chiami per primo lo strumento create_account, includendo un parametro contact_email; create_account restituisce un signup_id, una management_key, un onboarding_link e un message.
La persona apre onboarding_link per confermare l'e-mail, collegare il proprio numero WhatsApp e scegliere un piano: prima non si può inviare nulla. get_account_status indica cosa manca ancora.
In ogni chiamata successiva passi la management_key come token Bearer. Quando il numero è attivo, create_number_key le fornisce una chiave per il server MCP di messaggistica e per l'API REST.