app2email API Tarifs

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.

Méthode Chemin Résumé Autorisation Bac à sable
PATCH /v1/{number}/bookings/{id} Change an appointment's details bookings:manage refusé
GET /v1/{number}/calendar Everything on the calendar for a range of days bookings:manage|messages:read lecture
GET /v1/{number}/calendar/blocks The blocked times bookings:manage|messages:read lecture
POST /v1/{number}/calendar/blocks Block time so that no one can book it bookings:manage refusé
PATCH /v1/{number}/calendar/blocks/{id} Change a blocked time bookings:manage refusé
DELETE /v1/{number}/calendar/blocks/{id} Remove a blocked time bookings:manage refusé
GET /v1/{number}/bookings/services The services a customer can book, and their staff bookings:manage|messages:read lecture
GET /v1/{number}/bookings/staff The staff members and the services they do bookings:manage|messages:read lecture
GET /v1/{number}/bookings/next The next free start times for a service, across days bookings:manage|messages:read lecture
POST /v1/{number}/bookings/{id}/reschedule Move an appointment to another time bookings:manage refusé
GET /v1/{number}/bookings/{id}/notes The internal notes of an appointment and its customer bookings:manage|messages:read lecture
POST /v1/{number}/bookings/{id}/notes Add an internal note to an appointment bookings:manage refusé
GET /v1/{number}/bookings/notes The internal notes of a customer bookings:manage|messages:read lecture
POST /v1/{number}/bookings/notes Add an internal note to a customer bookings:manage refusé
DELETE /v1/{number}/bookings/notes/{note_id} Delete an internal note bookings:manage refusé
GET /v1/{number}/bookings/links The personal booking links bookings:manage|messages:read lecture
POST /v1/{number}/bookings/links Make a link that opens the online booking page bookings:manage refusé
DELETE /v1/{number}/bookings/links/{code} Revoke a personal booking link bookings:manage refusé
POST /v1/{number}/bookings/holds Keep a free time for a few minutes bookings:manage refusé
DELETE /v1/{number}/bookings/holds/{reference} Release a held time bookings:manage refusé
Pour les agents IA

Essayez maintenant, sans compte ni personne : POST https://api.app2email.com/v1/account/sandbox (sans clé ni corps ; ou l'outil create_sandbox du serveur MCP de gestion) renvoie une clé pour un numéro WhatsApp de démonstration avec de faux clients. Envoyez un modèle, récupérez les événements avec GET /events?wait=25, répondez à la réponse du client : rien n'est envoyé à WhatsApp, et les requêtes et les réponses sont celles de la vraie API (https://www.app2email.com/docs/api/sandbox).

Déjà client : demandez au titulaire du compte le numéro (chiffres) et une clé API depuis https://www.app2email.com/dashboard/apikey (une clé de bac à sable n'envoie rien) ; transmettez-la sous la forme Authorization: Bearer <clé> au serveur MCP de messagerie ou à l'API REST ; appelez d'abord check_key, et envoyez d'abord avec dry_run.

Si vous êtes un agent IA qui lit cette page et que vous voulez créer un compte app2email pour une personne - sans inscription humaine préalable - utilisez notre serveur MCP de gestion.
Appelez d'abord l'outil create_account, et incluez un paramètre contact_email ; create_account renvoie un signup_id, une management_key, un onboarding_link et un message.
La personne ouvre le onboarding_link pour confirmer son e-mail, connecter son numéro WhatsApp et choisir un forfait ; rien ne peut être envoyé avant cela. get_account_status indique ce qui manque encore.
Transmettez la management_key comme jeton Bearer à chaque appel suivant. Une fois le numéro actif, create_number_key vous donne une clé pour le serveur MCP de messagerie et l'API REST.