app2email API قیمتیں

Book-and-Pay

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

طریقہ Path خلاصہ اجازت Sandbox
GET /v1/{number}/bookings/waitlist The waitlist of full days bookings:manage|messages:read پڑھتا ہے
POST /v1/{number}/bookings/waitlist Put a customer on the waitlist of a full day bookings:manage رد
POST /v1/{number}/bookings/waitlist/{reference}/remove Take a customer off the waitlist bookings:manage رد
GET /v1/{number}/bookings The appointments, soonest start first bookings:manage|messages:read پڑھتا ہے
POST /v1/{number}/bookings Book an appointment for a customer at a free slot bookings:manage رد
GET /v1/{number}/bookings/availability The free slots per day for a service, as the customer would see them bookings:manage|messages:read پڑھتا ہے
GET /v1/{number}/bookings/reports The booking report of a range of days bookings:manage|messages:read پڑھتا ہے
GET /v1/{number}/bookings/{id} One appointment, by id or reference bookings:manage|messages:read پڑھتا ہے
POST /v1/{number}/bookings/{id}/cancel Cancel an appointment bookings:manage رد
POST /v1/{number}/bookings/{id}/status Mark an appointment completed, a no-show, or back to confirmed bookings:manage رد
GET /v1/{number}/settings/booking The booking settings, the default Flow's status and every Flow bookings:manage|messages:read پڑھتا ہے
PUT /v1/{number}/settings/booking Switch Book-and-Pay on or off and change the settings bookings:manage رد
POST /v1/{number}/flows/{key}/send Send a Flow to a contact (the booking form or another form) 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 دیتا ہے۔