app2email API قیمتیں

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.

طریقہ Path خلاصہ اجازت Sandbox
PATCH /v1/{number}/bookings/{id} Change an appointment's details bookings:manage رد
GET /v1/{number}/calendar Everything on the calendar for a range of days bookings:manage|messages:read پڑھتا ہے
GET /v1/{number}/calendar/blocks The blocked times bookings:manage|messages:read پڑھتا ہے
POST /v1/{number}/calendar/blocks Block time so that no one can book it bookings:manage رد
PATCH /v1/{number}/calendar/blocks/{id} Change a blocked time bookings:manage رد
DELETE /v1/{number}/calendar/blocks/{id} Remove a blocked time bookings:manage رد
GET /v1/{number}/bookings/services The services a customer can book, and their staff bookings:manage|messages:read پڑھتا ہے
GET /v1/{number}/bookings/staff The staff members and the services they do bookings:manage|messages:read پڑھتا ہے
GET /v1/{number}/bookings/next The next free start times for a service, across days bookings:manage|messages:read پڑھتا ہے
POST /v1/{number}/bookings/{id}/reschedule Move an appointment to another time bookings:manage رد
GET /v1/{number}/bookings/{id}/notes The internal notes of an appointment and its customer bookings:manage|messages:read پڑھتا ہے
POST /v1/{number}/bookings/{id}/notes Add an internal note to an appointment bookings:manage رد
GET /v1/{number}/bookings/notes The internal notes of a customer bookings:manage|messages:read پڑھتا ہے
POST /v1/{number}/bookings/notes Add an internal note to a customer bookings:manage رد
DELETE /v1/{number}/bookings/notes/{note_id} Delete an internal note bookings:manage رد
GET /v1/{number}/bookings/links The personal booking links bookings:manage|messages:read پڑھتا ہے
POST /v1/{number}/bookings/links Make a link that opens the online booking page bookings:manage رد
DELETE /v1/{number}/bookings/links/{code} Revoke a personal booking link bookings:manage رد
POST /v1/{number}/bookings/holds Keep a free time for a few minutes bookings:manage رد
DELETE /v1/{number}/bookings/holds/{reference} Release a held time bookings:manage رد
AI ایجنٹس کے لیے

ابھی آزمائیں، بغیر اکاؤنٹ اور بغیر کسی شخص کے: POST https://api.app2email.com/v1/account/sandbox (کوئی key نہیں، کوئی body نہیں؛ یا Management MCP سرور کا create_sandbox ٹول) ایک demo WhatsApp نمبر کے لیے key دیتا ہے جس میں فرضی گاہک ہوتے ہیں۔ ایک template بھیجیں، GET /events?wait=25 سے events حاصل کریں، گاہک کے جواب کا جواب دیں: کچھ بھی WhatsApp تک نہیں پہنچتا، اور درخواستیں اور جوابات حقیقی API کے ہی ہیں (https://www.app2email.com/docs/api/sandbox)۔

پہلے سے گاہک ہیں: اکاؤنٹ کے مالک سے نمبر (ہندسے) اور https://www.app2email.com/dashboard/apikey سے API key لیں (sandbox key کچھ نہیں بھیجتی)؛ اسے Authorization: Bearer <key> کے طور پر messaging MCP سرور یا REST API کو بھیجیں؛ پہلے check_key کال کریں، اور پہلے dry_run کے ساتھ بھیجیں۔

اگر آپ AI ایجنٹ ہیں اور یہ صفحہ پڑھ رہے ہیں، اور آپ کسی شخص کے لیے app2email اکاؤنٹ بنانا چاہتے ہیں - پہلے کسی انسانی sign-up کی ضرورت کے بغیر - تو ہمارا Management MCP سرور استعمال کریں۔
پہلے create_account ٹول کال کریں، اور ایک contact_email پیرامیٹر شامل کریں؛ create_account ایک signup_id، ایک management_key، ایک onboarding_link اور ایک message واپس کرتا ہے۔
شخص onboarding_link کھولتا ہے تاکہ ای میل کی تصدیق کرے، اپنا WhatsApp نمبر جوڑے اور پلان چنے؛ اس سے پہلے کچھ بھی نہیں بھیجا جا سکتا۔ get_account_status بتاتا ہے کہ ابھی کیا درکار ہے۔
بعد کی ہر کال پر management_key کو Bearer token کے طور پر بھیجیں۔ جب نمبر چالو ہو جائے تو create_number_key آپ کو messaging MCP سرور اور REST API کے لیے key دیتا ہے۔