app2email API Cennik

Calendar

The business calendar: appointments, blocked time, internal notes, links to the online booking page and held times. Services, staff and the next free times for agents.

Metoda Ścieżka Opis Uprawnienie Sandbox
PATCH /v1/{number}/bookings/{id} Change an appointment's details bookings:manage odrzucone
GET /v1/{number}/calendar Everything on the calendar for a range of days bookings:manage|messages:read odczyty
GET /v1/{number}/calendar/blocks The blocked times bookings:manage|messages:read odczyty
POST /v1/{number}/calendar/blocks Block time so that no one can book it bookings:manage odrzucone
PATCH /v1/{number}/calendar/blocks/{id} Change a blocked time bookings:manage odrzucone
DELETE /v1/{number}/calendar/blocks/{id} Remove a blocked time bookings:manage odrzucone
GET /v1/{number}/bookings/services The services a customer can book, and their staff bookings:manage|messages:read odczyty
GET /v1/{number}/bookings/staff The staff members and the services they do bookings:manage|messages:read odczyty
GET /v1/{number}/bookings/next The next free start times for a service, across days bookings:manage|messages:read odczyty
POST /v1/{number}/bookings/{id}/reschedule Move an appointment to another time bookings:manage odrzucone
GET /v1/{number}/bookings/{id}/notes The internal notes of an appointment and its customer bookings:manage|messages:read odczyty
POST /v1/{number}/bookings/{id}/notes Add an internal note to an appointment bookings:manage odrzucone
GET /v1/{number}/bookings/notes The internal notes of a customer bookings:manage|messages:read odczyty
POST /v1/{number}/bookings/notes Add an internal note to a customer bookings:manage odrzucone
DELETE /v1/{number}/bookings/notes/{note_id} Delete an internal note bookings:manage odrzucone
GET /v1/{number}/bookings/links The personal booking links bookings:manage|messages:read odczyty
POST /v1/{number}/bookings/links Make a link that opens the online booking page bookings:manage odrzucone
DELETE /v1/{number}/bookings/links/{code} Revoke a personal booking link bookings:manage odrzucone
POST /v1/{number}/bookings/holds Keep a free time for a few minutes bookings:manage odrzucone
DELETE /v1/{number}/bookings/holds/{reference} Release a held time bookings:manage odrzucone
Dla agentów AI

Wypróbuj od razu, bez konta i bez osoby: POST https://api.app2email.com/v1/account/sandbox (bez klucza, bez treści; albo narzędzie create_sandbox z serwera Management MCP) zwraca klucz do demonstracyjnego numeru WhatsApp z udawanymi klientami. Wyślij szablon, pobierz zdarzenia przez GET /events?wait=25 i odpowiedz na wiadomość klienta: nic nie trafia do WhatsApp, a żądania i odpowiedzi są takie same jak w prawdziwym API (https://www.app2email.com/docs/api/sandbox).

Jesteś już klientem: poproś właściciela konta o numer (cyfry) i klucz API z https://www.app2email.com/dashboard/apikey (klucz sandbox niczego nie wysyła); wyślij go jako Authorization: Bearer <klucz> do serwera messaging MCP lub REST API; najpierw wywołaj check_key, a wysyłaj najpierw z dry_run.

Jeśli jesteś agentem AI czytającym tę stronę i chcesz założyć konto app2email dla osoby - bez wcześniejszej rejestracji przez człowieka - użyj serwera Management MCP.
Najpierw wywołaj narzędzie create_account i dołącz parametr contact_email; create_account zwraca signup_id, management_key, onboarding_link oraz message.
Osoba otwiera onboarding_link, potwierdza e-mail, podłącza swój numer WhatsApp i wybiera plan; przed tym nic nie da się wysłać. get_account_status pokazuje, czego jeszcze brakuje.
Przekazuj management_key jako token Bearer przy każdym kolejnym wywołaniu. Gdy numer jest aktywny, create_number_key daje klucz do serwera messaging MCP i REST API.