Skip to main content
GET
/
bookings
List bookings
curl --request GET \
  --url https://api.rntor.com/v1/bookings \
  --header 'Authorization: Bearer <token>' \
  --header 'X-Client-ID: <api-key>'
{
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "resource_id": "4d91d4dd-1e55-5c61-9999-9ee36847163b",
      "customer_id": "5e02e5ee-2f66-6d72-0000-0ff47958274c",
      "location_id": "6f13f6ff-3g77-7e83-1111-1gg58069385d",
      "start_time": "2024-01-15T09:00:00Z",
      "end_time": "2024-01-15T10:00:00Z",
      "status": "confirmed",
      "title": "Team Meeting",
      "attendees": 4,
      "total_amount": 50,
      "currency": "USD",
      "created_at": "2024-01-14T15:30:00Z",
      "updated_at": "2024-01-14T15:30:00Z"
    }
  ],
  "pagination": {
    "page": 1,
    "per_page": 20,
    "total": 150,
    "total_pages": 8,
    "has_more": true
  },
  "meta": {
    "request_id": "req_abc123def456",
    "timestamp": "2024-01-15T10:30:00Z"
  }
}

Authorizations

Authorization
string
header
required

Your API client secret

X-Client-ID
string
header
required

Your API client ID

Query Parameters

page
integer
default:1

Page number

Required range: x >= 1
per_page
integer
default:20

Items per page

Required range: 1 <= x <= 100
status
enum<string>
Available options:
pending,
confirmed,
cancelled,
completed
resource_id
string<uuid>
customer_id
string<uuid>
location_id
string<uuid>
start_date
string<date>
end_date
string<date>

Response

Successful response

data
object[]
pagination
object
meta
object