Make Money From Coding

Bookings API

List Bookings

Get all scheduled bookings.

Endpoint: GET /api/bookings

Query Parameters:

  • status (optional): Filter by status (pending, confirmed, cancelled)
  • from (optional): Start date (ISO 8601)
  • to (optional): End date (ISO 8601)

Response:

{
  "bookings": [
    {
      "id": 101,
      "serviceId": 789,
      "buyerName": "Jane Smith",
      "buyerEmail": "jane@example.com",
      "scheduledAt": "2025-01-20T15:00:00Z",
      "status": "confirmed",
      "meetingUrl": "https://meet.google.com/xxx-yyyy-zzz"
    }
  ]
}
Bookings API