app2email API Ceník

Book-and-Pay

Appointment bookings made on WhatsApp Flows: the appointments, the free slots, the booking settings, and sending the number's Flows.

Metoda Cesta Shrnutí Oprávnění Sandbox
GET /v1/{number}/bookings/waitlist The waitlist of full days bookings:manage|messages:read čte
POST /v1/{number}/bookings/waitlist Put a customer on the waitlist of a full day bookings:manage odmítnuto
POST /v1/{number}/bookings/waitlist/{reference}/remove Take a customer off the waitlist bookings:manage odmítnuto
GET /v1/{number}/bookings The appointments, soonest start first bookings:manage|messages:read čte
POST /v1/{number}/bookings Book an appointment for a customer at a free slot bookings:manage odmítnuto
GET /v1/{number}/bookings/availability The free slots per day for a service, as the customer would see them bookings:manage|messages:read čte
GET /v1/{number}/bookings/reports The booking report of a range of days bookings:manage|messages:read čte
GET /v1/{number}/bookings/{id} One appointment, by id or reference bookings:manage|messages:read čte
POST /v1/{number}/bookings/{id}/cancel Cancel an appointment bookings:manage odmítnuto
POST /v1/{number}/bookings/{id}/status Mark an appointment completed, a no-show, or back to confirmed bookings:manage odmítnuto
GET /v1/{number}/settings/booking The booking settings, the default Flow's status and every Flow bookings:manage|messages:read čte
PUT /v1/{number}/settings/booking Switch Book-and-Pay on or off and change the settings bookings:manage odmítnuto
POST /v1/{number}/flows/{key}/send Send a Flow to a contact (the booking form or another form) bookings:manage odmítnuto
Pro AI agenty

Vyzkoušejte to hned, bez účtu a bez člověka: POST https://api.app2email.com/v1/account/sandbox (bez klíče a bez těla; nebo nástroj create_sandbox ze serveru Management MCP) vrátí klíč pro demo číslo WhatsApp s fiktivními zákazníky. Pošlete šablonu, načtěte události pomocí GET /events?wait=25 a odpovězte na zprávu zákazníka: nic se nedostane do WhatsAppu, ale požadavky a odpovědi jsou ty z ostrého API (https://www.app2email.com/docs/api/sandbox).

Už jste zákazník: požádejte vlastníka účtu o číslo (číslice) a API klíč z https://www.app2email.com/dashboard/apikey (klíč do sandboxu nic neodešle); pošlete ho jako Authorization: Bearer <klíč> na messaging MCP server nebo REST API; nejprve zavolejte check_key, odesílání nejdřív zkuste s dry_run.

Pokud jste AI agent, který čte tuto stránku, a chcete pro člověka vytvořit účet app2email – bez předchozí registrace člověka – použijte náš server Management MCP.
Nejprve zavolejte nástroj create_account a uveďte parametr contact_email; create_account vrátí signup_id, management_key, onboarding_link a message.
Člověk otevře onboarding_link, potvrdí e-mail, připojí své číslo WhatsApp a vybere tarif; dříve nelze nic odeslat. get_account_status říká, co ještě chybí.
management_key předávejte jako Bearer token při každém dalším volání. Jakmile je číslo aktivní, create_number_key vám vydá klíč pro messaging MCP server a REST API.