List bookings
curl --request GET \
--url https://api.overviu.app/api/v1/bookings \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.overviu.app/api/v1/bookings"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.overviu.app/api/v1/bookings', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.overviu.app/api/v1/bookings",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.overviu.app/api/v1/bookings"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.overviu.app/api/v1/bookings")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.overviu.app/api/v1/bookings")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "<string>",
"confirmation_code": "<string>",
"listing_id": "<string>",
"unit": {
"id": "<string>",
"name": "<string>"
},
"whole_building": true,
"guest_id": "<string>",
"status": "<string>",
"source": "<string>",
"check_in": "<string>",
"check_out": "<string>",
"nights": 123,
"number_of_guests": 123,
"currency": "<string>",
"accommodation_total": 123,
"discount_total": 123,
"fees_total": 123,
"taxes_total": 123,
"grand_total": 123,
"price_breakdown": [
"<unknown>"
],
"notes": "<string>",
"special_requests": "<string>",
"confirmed_at": "<string>",
"cancelled_at": "<string>",
"completed_at": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"listing": {
"id": "<string>",
"slug": "<string>",
"kind": "<string>",
"building_id": "<string>",
"whole_building_bookable": true,
"public_title": "<string>",
"nickname": "<string>",
"status": "<string>",
"property_type": "<string>",
"max_guests": 123,
"bedrooms_count": 123,
"beds_count": 123,
"bathrooms_count": 123,
"bathrooms_half": true,
"currency": "<string>",
"timezone": "<string>",
"check_in_time": "<string>",
"check_out_time": "<string>",
"address": {
"street": "<string>",
"city": "<string>",
"state": "<string>",
"postcode": "<string>",
"country": "<string>",
"latitude": "<string>",
"longitude": "<string>"
},
"headline": "<string>",
"description": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"photos": [
{
"id": "<string>",
"is_featured": true,
"sort_order": 123,
"width": 123,
"height": 123,
"thumbnail_url": "<string>",
"medium_url": "<string>",
"original_url": "<string>"
}
]
},
"guest": {
"id": "<string>",
"name": "<string>",
"email": "<string>",
"phone": "<string>",
"notes": "<string>",
"created_at": "<string>"
}
}
],
"links": {
"first": "<string>",
"last": "<string>",
"prev": "<string>",
"next": "<string>"
},
"meta": {
"path": "<string>",
"per_page": 1,
"next_cursor": "<string>",
"prev_cursor": "<string>"
}
}{
"message": "<string>"
}Bookings
List bookings
Returns the team’s bookings, latest check-in first, with their listing, guest and unit. Filter by status:
pending, pending_payment, confirmed, cancelled or completed. Cursor-paginated: follow links.next;
per_page defaults to 20.
GET
/
v1
/
bookings
List bookings
curl --request GET \
--url https://api.overviu.app/api/v1/bookings \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.overviu.app/api/v1/bookings"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.overviu.app/api/v1/bookings', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.overviu.app/api/v1/bookings",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.overviu.app/api/v1/bookings"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.overviu.app/api/v1/bookings")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.overviu.app/api/v1/bookings")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "<string>",
"confirmation_code": "<string>",
"listing_id": "<string>",
"unit": {
"id": "<string>",
"name": "<string>"
},
"whole_building": true,
"guest_id": "<string>",
"status": "<string>",
"source": "<string>",
"check_in": "<string>",
"check_out": "<string>",
"nights": 123,
"number_of_guests": 123,
"currency": "<string>",
"accommodation_total": 123,
"discount_total": 123,
"fees_total": 123,
"taxes_total": 123,
"grand_total": 123,
"price_breakdown": [
"<unknown>"
],
"notes": "<string>",
"special_requests": "<string>",
"confirmed_at": "<string>",
"cancelled_at": "<string>",
"completed_at": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"listing": {
"id": "<string>",
"slug": "<string>",
"kind": "<string>",
"building_id": "<string>",
"whole_building_bookable": true,
"public_title": "<string>",
"nickname": "<string>",
"status": "<string>",
"property_type": "<string>",
"max_guests": 123,
"bedrooms_count": 123,
"beds_count": 123,
"bathrooms_count": 123,
"bathrooms_half": true,
"currency": "<string>",
"timezone": "<string>",
"check_in_time": "<string>",
"check_out_time": "<string>",
"address": {
"street": "<string>",
"city": "<string>",
"state": "<string>",
"postcode": "<string>",
"country": "<string>",
"latitude": "<string>",
"longitude": "<string>"
},
"headline": "<string>",
"description": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"photos": [
{
"id": "<string>",
"is_featured": true,
"sort_order": 123,
"width": 123,
"height": 123,
"thumbnail_url": "<string>",
"medium_url": "<string>",
"original_url": "<string>"
}
]
},
"guest": {
"id": "<string>",
"name": "<string>",
"email": "<string>",
"phone": "<string>",
"notes": "<string>",
"created_at": "<string>"
}
}
],
"links": {
"first": "<string>",
"last": "<string>",
"prev": "<string>",
"next": "<string>"
},
"meta": {
"path": "<string>",
"per_page": 1,
"next_cursor": "<string>",
"prev_cursor": "<string>"
}
}{
"message": "<string>"
}Authorizations
An API token from Settings → API tokens in Overviu, sent as Authorization: Bearer <token>.