Developer API

Build Anything withOur Powerful API

Access all AiOnBooking features through our comprehensive REST API. Build custom integrations, mobile apps, or completely custom booking experiences.

Create an Appointment

curl -X POST https://api.bookingpro.com/v1/appointments \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "customer_id": "cus_123",
    "service_id": "srv_456", 
    "staff_id": "stf_789",
    "appointment_date": "2024-03-15",
    "start_time": "14:00",
    "notes": "First time customer"
  }'

Powerful & Developer Friendly

Everything you need to integrate AiOnBooking into your applications and workflows.

RESTful API

Clean, intuitive REST API with predictable resource-oriented URLs

Secure Authentication

OAuth 2.0 and API key authentication with rate limiting

Real-time Webhooks

Get instant notifications when appointments are created, updated, or cancelled

SDKs Available

Official SDKs for JavaScript, Python, PHP, and Ruby

Key API Endpoints

Access all core functionality through these endpoints.

GET/appointments

List all appointments with filtering and pagination

POST/appointments

Create a new appointment booking

GET/customers

Retrieve customer information and booking history

POST/customers

Create new customer profiles

GET/services

List available services and pricing

GET/staff

Get staff availability and schedules

Complete Documentation

Get started quickly with our comprehensive guides, code examples, and interactive API explorer.