app2email API Ọnụahịa

Book-and-Pay

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

Usoro Path Nchịkọta Scope Sandbox
GET /v1/{number}/bookings/waitlist The waitlist of full days bookings:manage|messages:read na-agụ
POST /v1/{number}/bookings/waitlist Put a customer on the waitlist of a full day bookings:manage jụrụ
POST /v1/{number}/bookings/waitlist/{reference}/remove Take a customer off the waitlist bookings:manage jụrụ
GET /v1/{number}/bookings The appointments, soonest start first bookings:manage|messages:read na-agụ
POST /v1/{number}/bookings Book an appointment for a customer at a free slot bookings:manage jụrụ
GET /v1/{number}/bookings/availability The free slots per day for a service, as the customer would see them bookings:manage|messages:read na-agụ
GET /v1/{number}/bookings/reports The booking report of a range of days bookings:manage|messages:read na-agụ
GET /v1/{number}/bookings/{id} One appointment, by id or reference bookings:manage|messages:read na-agụ
POST /v1/{number}/bookings/{id}/cancel Cancel an appointment bookings:manage jụrụ
POST /v1/{number}/bookings/{id}/status Mark an appointment completed, a no-show, or back to confirmed bookings:manage jụrụ
GET /v1/{number}/settings/booking The booking settings, the default Flow's status and every Flow bookings:manage|messages:read na-agụ
PUT /v1/{number}/settings/booking Switch Book-and-Pay on or off and change the settings bookings:manage jụrụ
POST /v1/{number}/flows/{key}/send Send a Flow to a contact (the booking form or another form) bookings:manage jụrụ
Maka Ndị Ọrụ AI

Nwalee ya ugbu a, na-enweghị akaụntụ na onye ọ bụla: POST https://api.app2email.com/v1/account/sandbox (enweghị igodo, enweghị ihe ọ bụla n'ime ahịrị; ma ọ bụ ngwa create_sandbox nke Management MCP server) na-enye igodo maka nọmba WhatsApp nlele nwere ndị ahịa ndị e mere n'ihu. Zipu template, lelee ihe omume ndị ahụ site na GET /events?wait=25, zaghachi azịza onye ahịa: ihe ọ bụla anaghị aga WhatsApp, ihe ndị a zipụrụ na azịza ndị a bụ nke API n'ezie (https://www.app2email.com/docs/api/sandbox).

Ọ bụ onye ahịa n'ezie: jụọ onye nwe akaụntụ maka nọmba (ọnụọgụ) na igodo API site na https://www.app2email.com/dashboard/apikey (igodo sandbox anaghị ezipu ihe ọ bụla); zipu ya dị ka Authorization: Bearer <key> na messaging MCP server ma ọ bụ REST API; kpọọ check_key mbụ, zipu site na dry_run mbụ.

Ọ bụrụ na ị bụ onye ọrụ AI na-agụ ibe a ma ị chọrọ mepụta akaụntụ app2email maka onye - enweghị ihe ọ bụla debanyere aha mbụ site na mmadụ - jiri Management MCP server anyị.
Kpọọ ngwa create_account mbụ, wee tinye parameter contact_email; create_account na-alaghachi signup_id, management_key, onboarding_link na message.
Onye ahụ na-emeghe onboarding_link iji kwenye email, jikọọ nọmba WhatsApp ya ma họrọ atụmatụ; enweghị ihe a ga-ezipụ tupu nke ahụ. get_account_status na-agwa gị ihe ka a chọrọ.
Nye management_key dị ka Bearer token n'oku ọ bụla ka na-esote. Mgbe nọmba ahụ dị ndụ, create_number_key na-enye gị igodo maka messaging MCP server na REST API.