app2email API Ọnụahịa

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.

Usoro Path Nchịkọta Scope Sandbox
PATCH /v1/{number}/bookings/{id} Change an appointment's details bookings:manage jụrụ
GET /v1/{number}/calendar Everything on the calendar for a range of days bookings:manage|messages:read na-agụ
GET /v1/{number}/calendar/blocks The blocked times bookings:manage|messages:read na-agụ
POST /v1/{number}/calendar/blocks Block time so that no one can book it bookings:manage jụrụ
PATCH /v1/{number}/calendar/blocks/{id} Change a blocked time bookings:manage jụrụ
DELETE /v1/{number}/calendar/blocks/{id} Remove a blocked time bookings:manage jụrụ
GET /v1/{number}/bookings/services The services a customer can book, and their staff bookings:manage|messages:read na-agụ
GET /v1/{number}/bookings/staff The staff members and the services they do bookings:manage|messages:read na-agụ
GET /v1/{number}/bookings/next The next free start times for a service, across days bookings:manage|messages:read na-agụ
POST /v1/{number}/bookings/{id}/reschedule Move an appointment to another time bookings:manage jụrụ
GET /v1/{number}/bookings/{id}/notes The internal notes of an appointment and its customer bookings:manage|messages:read na-agụ
POST /v1/{number}/bookings/{id}/notes Add an internal note to an appointment bookings:manage jụrụ
GET /v1/{number}/bookings/notes The internal notes of a customer bookings:manage|messages:read na-agụ
POST /v1/{number}/bookings/notes Add an internal note to a customer bookings:manage jụrụ
DELETE /v1/{number}/bookings/notes/{note_id} Delete an internal note bookings:manage jụrụ
GET /v1/{number}/bookings/links The personal booking links bookings:manage|messages:read na-agụ
POST /v1/{number}/bookings/links Make a link that opens the online booking page bookings:manage jụrụ
DELETE /v1/{number}/bookings/links/{code} Revoke a personal booking link bookings:manage jụrụ
POST /v1/{number}/bookings/holds Keep a free time for a few minutes bookings:manage jụrụ
DELETE /v1/{number}/bookings/holds/{reference} Release a held time 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.