- Get
- Get
- Delete
- Put
The API of a PMS is a set of rules and protocols that facilitate the interaction and exchange of data between the PMS and other systems. This interface enables process automation, improves operational efficiency, and provides the flexibility needed to adapt to the changing needs of the business.
In conclusion, our API is an essential tool in the modern landscape of property and room management, offering seamless connectivity and improving operational efficiency in the tourism industry.
Here you can observe the request code.
Here you can observe the response code.
This guide intends to quickly get your Application, test or production, set up and send your first API request successfully.
You may skip this step if you already have a test Host account.
The first thing you need to do is create a user for the API through the portal https://test.bedloop.com.
Follow these instructions:
1.- Access the Settings - API menu
2.- Generate a user by clicking the "Create User" button.
3.- Add a name that is identifiable for you and indicates to whom this API user is directed.
4.- Now, securely save the generated username and password. You won't be able to see the password again. Make sure to store it safely.
With the user and password previously generated, you will be able to obtain the bearer token by Basic Auth to connect to our API. Send base64 User and Pass like: UserName:Password
To send a request with a Bearer Token authorization header, you need to make an HTTP GET request and provide your Bearer Token with the Authorization: Bearer {token}
Bearer authentication has several advantages over basic authentication. The token is encrypted, so it cannot be tampered with or stolen. The client does not have to store or send the credentials, which reduces the risk of exposure and improves the performance of the API.
There are rate limits linked to each token for system security.
The rate limit is set at 5000 request per hour (per token). If you need to increase this limit, please contact Bedloop.
curl --location 'https://test.bedloop.com/api/v1/login' \
--header 'Accept;' \
--header 'Authorization: Basic QVBJN19QcnVlYmE6fWg+UjwxKTJvRjwwRjg/'
{
"token": "Basic Bearer SECRETOKEN"
}
This call returns all of a host's listings, whether they are connected via the API or not.
200
Ok Response
400
Bad Request
401
"message": "Unauthenticated."
500
Internal Error
curl --location 'https://test.bedloop.com/api/v1/listings' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
{
"data": [
{
"id": 1,
"active": 1,
"name": "Lordy Clyde",
"mu": "false",
"destination": 1,
"street": "27 Clennam St",
"floor": "3",
"door": "B",
"city": "London",
"state": {
"id": 20,
"nombre": "London"
},
"country": 180,
"zipcode": "SE1 1ER",
"license": "HUT-2134324",
"lat": 51.50334407738732,
"lng": -0.09552202798932424,
"person_capacity": 6,
"bathrooms": 2,
"bath": 1,
"bedrooms": 3,
"m2": 220,
"longstay": 0,
"checkinfrom": null,
"checkinto": null,
"checkout": null,
"latecheckinfrom": null,
"latecheckinto": null,
"price_latecheckin": null,
"entry_limit_time": null,
"deposit": 500,
"intercom_number": null,
"key_number": null,
"wifi_network": null,
"wifi_password": null,
"tourist_tax": 1.1,
"description": "Welcome to this charming apartment in London. With a prime location and contemporary elegance, this two-bedroom accommodation offers an unforgettable experience in the British capital. The living room, with its modern decor and panoramic windows, creates a bright and cozy space for relaxation. The kitchen, fully equipped with state-of-the-art appliances, is perfect for those who enjoy home cooking or want to explore local gastronomic options. The bedrooms feature a modern style and are equipped with comfortable beds to ensure a good night’s rest. The bathroom, with contemporary finishes, provides a luxurious experience with its high-end shower. From the balcony, you can enjoy spectacular views of London’s urban skyline. The apartment is close to areas of interest such as Covent Garden and the Royal Parks, offering a wide variety of entertainment and shopping options. This property is ideal for travelers seeking the perfect combination of comfort and urban lifestyle. With its central location and contemporary details, this apartment invites you to explore the wonders of London from an elegant and cozy environment.",
"short_description": "",
"property_type": 1,
"url": "lordy-clyde",
"num_sofa_beds": null
},
"fees": [
589,
591,
592
],
"services": [
8338,
8339,
8340,
8341
]
...
]
}
Use this API to retrieve an existing listing.
Listing ID
200
Ok Response
401
"message": "Unauthenticated."
500
Internal Error
404
Not Found Response
curl --location 'https://test.bedloop.com/api/v1/listings/1' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
{
"Listings":
{
"id": 1,
"active": 1,
"name": "Lordy Clyde",
"mu": "false",
"destination": 1,
"street": "27 Clennam St",
"floor": "3",
"door": "B",
"city": "London",
"state": 20,
"country": 180,
"zipcode": "SE1 1ER",
"license": "HUT-2134324",
"lat": 51.50334407738732,
"lng": -0.09552202798932424,
"person_capacity": 6,
"bathrooms": 2,
"bath": 1,
"bedrooms": 3,
"m2": 220,
"longstay": 0,
"checkinfrom": null,
"checkinto": null,
"checkout": null,
"latecheckinfrom": null,
"latecheckinto": null,
"price_latecheckin": null,
"entry_limit_time": null,
"deposit": 500,
"intercom_number": null,
"key_number": null,
"wifi_network": null,
"wifi_password": null,
"tourist_tax": 1.1,
"description": "Welcome to this charming apartment in London. With a prime location and contemporary elegance, this two-bedroom accommodation offers an unforgettable experience in the British capital. The living room, with its modern decor and panoramic windows, creates a bright and cozy space for relaxation. The kitchen, fully equipped with state-of-the-art appliances, is perfect for those who enjoy home cooking or want to explore local gastronomic options. The bedrooms feature a modern style and are equipped with comfortable beds to ensure a good night’s rest. The bathroom, with contemporary finishes, provides a luxurious experience with its high-end shower. From the balcony, you can enjoy spectacular views of London’s urban skyline. The apartment is close to areas of interest such as Covent Garden and the Royal Parks, offering a wide variety of entertainment and shopping options. This property is ideal for travelers seeking the perfect combination of comfort and urban lifestyle. With its central location and contemporary details, this apartment invites you to explore the wonders of London from an elegant and cozy environment.",
"short_description": "",
"property_type": 1,
"url": "lordy-clyde",
"num_sofa_beds": null,
"fees": [
589,
591,
592
],
"services": [
8338,
8339,
8340,
8341
]
}
}
This call returns all of a host’s listings, whether they are connected via the API or not. Look at the synchronization_category field to see whether the listing is connected; non-connected listings will have a synchronization_category value of none.
Property name
Listing Published/Unpublished
MultiUnit ID property/room
Destination ID
Street name
Floor number
Door number
City name
State Code, please verify the code to send.
Country code, please verify the ISO code to send.
ZIP code
License information
Latitude coordinate
Longitude coordinate
Maximum number of people allowed
Number of bathrooms.
Number of baths
Number of bedrooms.
Area in square meters.
Long-stay property.
Check-in starting time.
Check-in ending time.
Check-out time.
Late check-in starting time.
Late check-in ending time.
Late check-in price.
Entry limit time.
Deposit amount.
Intercom number.
Key number.
Wi-Fi network name.
Wi-Fi password.
Property/Room description.
Property/Room short description.
Url Web
Number of Sofa Beds
List of rooms and Beds
rooms: Array of objects. Each object represents a room and contains the following properties:
curl --location 'https://test.bedloop.com/api/v1/listings' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
{
"name": "Amazing Apartment",
"active": 1,
"mu": 1,
"destination": 1,
"street": "Cal Prince",
"floor": "2",
"door": "3",
"city": "Barcelona",
"state": 20,
"country": 33,
"zipcode": "22951",
"license": "HUT-2134324",
"lat": 87.091807,
"lng": -178.618689,
"person_capacity": 4,
"bathrooms": 4,
"bath": 2,
"bedrooms": 3,
"m2": 86,
"longstay": "false",
"checkinfrom": "15:00",
"checkinto": "18:00",
"checkout": "12:00",
"latecheckinfrom": "12:00",
"latecheckinto": "15:00",
"price_latecheckin": 20,
"entry_limit_time": "15:00",
"deposit": 0,
"intercom_number": "12345",
"key_number": "12345",
"wifi_network": "Wifi_12345",
"wifi_password": "pass_12345",
"description": {
"en": "English Description",
"es": "Descripción español"
},
"short_description": {
"en": "English short Description",
"es": "Descripción corta español"
},
"url": "berta-osorio",
"num_sofa_beds": 0,
"owner_id": 1,
"rooms": {
"1": [ // Room 1
{
"type": "Single",
"num_beds": 2
},
{
"type": "Double",
"num_beds": 1
}
],
"2": [ // Room 2
{
"type": "Single",
"num_beds": 3
},
{
"type": "Double",
"num_beds": 2
}
]
},
}
This call returns all of a host’s listings, whether they are connected via the API or not. Look at the synchronization_category field to see whether the listing is connected; non-connected listings will have a synchronization_category value of none.
Listing ID
Property name
MultiUnit ID property/room
Destination ID
Street name
Floor number
Door number
Listing Published/Unpublished
City name
State Code, please verify the code to send.
Country code, please verify the ISO code to send.
ZIP code
License information
Latitude coordinate
Longitude coordinate
Maximum number of people allowed
Number of bathrooms.
Number of baths
Number of bedrooms.
Area in square meters.
Long-stay property.
Check-in starting time.
Check-in ending time.
Check-out time.
Late check-in starting time.
Late check-in ending time.
Late check-in price.
Entry limit time.
Deposit amount.
Intercom number.
Key number.
Wi-Fi network name.
Wi-Fi password.
Property/Room description.
Property/Room short description.
Url Web
Number of Sofa Beds
List of rooms and Beds
rooms: Array of objects. Each object represents a room and contains the following properties:
curl --location 'https://test.bedloop.com/api/v1/listings/1' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
{
"name": "Amazing Apartment",
"mu": 1,
"destination": 1,
"street": "Cal Prince",
"floor": "2",
"door": "3",
"city": "Barcelona",
"state": 20,
"country": 33,
"zipcode": "22951",
"license": "HUT-2134324",
"lat": 87.091807,
"lng": -178.618689,
"person_capacity": 4,
"bathrooms": 4,
"bath": 2,
"bedrooms": 3,
"m2": 86,
"longstay": "false",
"checkinfrom": "15:00",
"checkinto": "18:00",
"checkout": "12:00",
"latecheckinfrom": "12:00",
"latecheckinto": "15:00",
"price_latecheckin": 20,
"entry_limit_time": "15:00",
"deposit": 0,
"intercom_number": "12345",
"key_number": "12345",
"wifi_network": "Wifi_12345",
"wifi_password": "pass_12345",
"description": {
"en": "English Description",
"es": "Descripción español"
},
"short_description": {
"en": "English short Description",
"es": "Descripción corta español"
},
"url": "berta-osorio",
"num_sofa_beds": 0,
"owner_id": 1,
"rooms": {
"1": [
{
"type": "Single",
"num_beds": 2
},
{
"type": "Double",
"num_beds": 1
}
],
"2": [
{
"type": "Single",
"num_beds": 3
},
{
"type": "Double",
"num_beds": 2
}
]
},
}
Gets a photo with a given photo ID as a URL ID parameter.
Photo ID
200
Ok Response
400
Bad Request
401
"message": "Unauthenticated."
500
Internal Error
curl --location 'https://test.bedloop.com/api/v1/photos/7' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
{
"data": {
"id": 70,
"listing_id": 101,
"name": "https://HOST/test/propiedades/101/fotos/web/225df13a-b7df-49da-ab34-9263c461d1d7.jpeg",
"zone": "interior",
"type": 2,
"position": 7,
"alt_text": "",
"title": ""
}
}
Gets all photos for a given listing.
Listing ID
200
Ok Response
400
Bad Request
401
"message": "Unauthenticated."
500
Internal Error
curl --location 'https://test.bedloop.com/api/v1/photos?listing_id=1' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
{
"data": [
{
"id": 50,
"listing_id": 100,
"name": "https://bedloops3bucket-1.s3.eu-south-2.amazonaws.com/test/propiedades/100/fotos/web/1703059680_Captura de pantalla 2023-06-18 195256.png",
"zone": "Interior",
"type": 1,
"position": 1,
"alt_text": "",
"title": ""
},
{
"id": 51,
"listing_id": 100,
"name": "https://bedloops3bucket-1.s3.eu-south-2.amazonaws.com/test/propiedades/100/fotos/web/1703059681_CR_1298615_cc44a3a8ed3041a5ac916bca00b56b02_personas_que_convirtieron_la_tarea_de_apilar_troncos_en_verdaderas_obras_de_arte.jpg",
"zone": "Interior",
"type": 1,
"position": 2,
"alt_text": "",
"title": ""
},
...
]
}
Delete photo with a given photo ID as a URL ID parameter.
Photo ID
200
Ok Response
400
Bad Response Request
403
Forbidden Response
404
Not Found Response
curl --location 'https://test.bedloop.com/api/v1/photos/{photo_id}' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
{
}
The three photo properties you can update are Type and Tittle and Alt.
Photo Id
Type of Photo: inside/outside
Position of Photo
Image Title Text
Image Alt Text
curl --location 'https://test.bedloop.com/api/v1/photos/1' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
{
"type": 1,
"position": 10,
"alt_text": {
"es": "Alt Titulo",
"en": "Alt Title"
},
"title": {
"es": "Titulo",
"en": "Title"
}
}
Use this endpoint to add a new photo associated with an existing listing.
Listing to associate with the uploaded photo.
Image contents in base64 string format. Images cannot be larger then 25MB or smaller than 50 KB and will be auto-cropped.
Type of Photo: Internal/External
Image Title Array Text
Image Alt TeArray xt
curl --location 'https://test.bedloop.com/api/v1/listings' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
{
"listing_id": "101",
"alt_text": {
"es": "Alt Titulo",
"en": "Alt Title"
},
"title": {
"es": "Titulo",
"en": "Title"
},
"type": 1,
"image": "/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAIBAQIBAQICAgICAgICAwUDAwMDAwYEBAMFBwYHBwcGBwcICQsJCAgKCAcHCg0KCgsMDAwMBwkODw0MDgsMDAz/ ...."
}
Use this endpoint to retrieve the rates for a existing listing.
Rates to associate with the listing/Category id.
Rate type: property/category
200
Ok Response
400
Bad Response Request
403
Forbidden Response
404
Not Found Response
curl --location 'https://test.bedloop.com/api/v1/rates?id=100&type=property'/ \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
{
"data": [
{
"rate_id": 66,
"name": "Non Refundable",
"parent_rate": null,
"increment_by_person": [
{
"maximum_people": "2",
"minimum_people": "1",
"increment_type": "1",
"increment_price": "12"
},
{
"maximum_people": "4",
"minimum_people": "3",
"increment_type": "1",
"increment_price": "15"
}
],
"modify_price": null,
"modify": null,
"listing_id": null,
"category_id": 5,
"policy": {
"name": "Flex Policy",
"description": "Description",
"prepaid": {
"percent": 50,
"less_than_days": "15",
"percent2": "5"
}
}
},
{
"rate_id": 127,
"name": "Early Bird",
"parent_rate": null,
"increment_by_person": null,
"modify_price": null,
"modify": null,
"listing_id": null,
"category_id": 5,
"policy": {
"name": "Flex Policy",
"description": "Description",
"prepaid": {
"percent": 50,
"less_than_days": "15",
"percent2": "5"
}
}
},
{
"rate_id": 188,
"name": "Last Minute",
"parent_rate": null,
"increment_by_person": null,
"modify_price": null,
"modify": null,
"listing_id": null,
"category_id": 5
},
{
"rate_id": 249,
"name": "Semanal",
"parent_rate": null,
"increment_by_person": null,
"modify_price": null,
"modify": null,
"listing_id": null,
"category_id": 5
},
{
"rate_id": 310,
"name": "Mensual",
"parent_rate": null,
"increment_by_person": null,
"modify_price": null,
"modify": null,
"listing_id": null,
"category_id": 5
},
{
"rate_id": 546,
"name": "popo",
"parent_rate": null,
"increment_by_person": [
{
"maximum_people": "2",
"minimum_people": "1",
"increment_type": "1",
"increment_price": "20"
},
{
"maximum_people": "4",
"minimum_people": "3",
"increment_type": "1",
"increment_price": "40"
}
],
"modify_price": null,
"modify": null,
"listing_id": null,
"category_id": 5
}
]
}
Use this endpoint to retrieve the rate from id.
Rates to associate with the listing id.
200
Ok Response
400
Bad Response Request
403
Forbidden Response
404
Not Found Response
curl --location 'https://test.bedloop.com/api/v1/rates/1' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
{
"data": {
"rate_id": 100,
"name": "Standard",
"parent_rate": null,
"increment_by_person": [
{
"maximum_people": "2",
"minimum_people": "1",
"increment_type": "1",
"increment_price": "12"
},
{
"maximum_people": "4",
"minimum_people": "3",
"increment_type": "1",
"increment_price": "15"
}
],
"modify_price": null,
"modify": null,
"listing_id": 51,
"category_id": null,
"policy": {
"name": "Flex Policy",
"description": "Description",
"prepaid": {
"percent": 50,
"less_than_days": "15",
"percent2": "5"
}
}
}
}
Use this API to update an existing rate plan.
Rates to update.
Rates to associate with the listing id.
Type of rate: Property or Category.
Name of the rate.
curl --location 'https://test.bedloop.com/api/v1/rates/{rate_id}' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
{
"rate_id": 100,
"name": "Standard",
"parent_rate": null,
"modify_price": null,
"modify": null,
"listing_id": 51,
"category_id": null
}
Get a price quote for a rate.
Rate ID to display the prices for the rate.
Start date to display the prices for the rate.
End date to display the prices for the rate.
200
Ok Response
400
Bad Response Request
403
Forbidden Response
404
Not Found Response
curl --location 'https://test.bedloop.com/api/v1/prices/1' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
{
"data": [
{
"rate_id": 1,
"date": "2023-05-31",
"min_days": 5,
"max_days": 3,
"price": 29744,
"active": 1,
"cta": 0,
"ctd": 0
},
{
"rate_id": 1,
"date": "2023-06-01",
"min_days": 1,
"max_days": 0,
"price": 24784,
"active": 1,
"cta": 0,
"ctd": 0
},
{
"rate_id": 1,
"date": "2023-06-02",
"min_days": 3,
"max_days": 1,
"price": 43441,
"active": 1,
"cta": 0,
"ctd": 0
},
...
]
}
Use this call to update a price for a Listing.
ID of the rate to update prices based on dates.
Date can be a single day or a start/end array ( like => ["2023-12-01", "2023-12-13"])
End date of the price to be updated.
Price to update.
Miním days to update.
Maximum days to update.
Close to Arrival.
Close to Departure.
Day open or close.
curl --location 'https://test.bedloop.com/api/v1/prices/1' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
{
"dates": [
{
"date": ["2023-12-01", "2023-12-13"],
"price": 10000,
"min_days": 5,
"max_days": 3,
"active": 1,
"cta": 0,
"ctd": 0
},
{
"date": "2023-12-15",
"price": 25711
}
]
}
Use this endpoint to obtain the availability of the property/room.
Listing ID to display the check the availability.
Start date to display the check the availability. Default: today.
End date to display the check the availability. Default: today + 1 year.
200
Ok Response
400
Bad Response Request
403
Forbidden Response
404
Not Found Response
curl --location 'https://test.bedloop.com/api/v1/availability?from=2023-11-12&to=2023-12-12&listing_id=20' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
{
"data": {
"listing_id": 1212,
"rates": [
{
"rate_id": 450,
"dates": [
{
"date": "2024-11-12",
"availability": false
},
{
"date": "2024-11-13",
"availability": false
},
{
"date": "2024-11-14",
"availability": false
},
{
"date": "2024-11-15",
"availability": false
}
]
},
{
"rate_id": 451,
"dates": [
{
"date": "2024-11-12",
"availability": false
},
{
"date": "2024-11-13",
"availability": false
},
{
"date": "2024-11-14",
"availability": false
},
{
"date": "2024-11-15",
"availability": false
}
]
}
]
}
}
Use this endpoint to obtain the availability of the property/room in multi-unit mode.
Listing ID to display the check the availability.
Start date to display the check the availability. Default: today.
End date to display the check the availability. Default: today + 1 year.
200
Ok Response
400
Bad Response Request
403
Forbidden Response
404
Not Found Response
curl --location 'https://test.bedloop.com/api/v1/availabilityMU?from=2023-11-12&to=2023-12-12&listing_id=20' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
{
"category_id": 1,
"availabilities": [
{
"date": "2023-11-12",
"availability": 10
},
{
"date": "2023-11-13",
"availability": 10
},
{
"date": "2023-11-14",
"availability": 10
},
...
]
}
Use this endpoint to check the availability of the property/room.
Listing ID to display the check the availability.
Start date to display the check the availability.
End date to display the check the availability.
Rate ID to display the check the availability.
200
Ok Response
400
Bad Response Request
403
Forbidden Response
404
Not Found Response
curl --location 'https://test.bedloop.com/api/v1/checkavailability?from=2023-11-12&to=2023-12-12&listing_id=20&rate_id=1' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
{
"availability": false
}
Use this endpoint to check the availability of the property/room in multi-unit mode.
Listing ID to display the check the availability.
Start date to display the check the availability. Default: today.
End date to display the check the availability. Default: today + 1 year.
Rate ID to display the check the availability.
200
Ok Response
400
Bad Response Request
403
Forbidden Response
404
Not Found Response
curl --location 'https://test.bedloop.com/api/v1/checkavailabilityMU?from=2023-11-12&to=2023-12-12&listing_id=20&rate_id=1' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
{
"availability": 10
}
With this endpoint, you will be able to view the blocks for the listing or room.
Block ID to display.
200
Ok Response
400
Bad Response Request
403
Forbidden Response
404
Not Found Response
curl --location 'https://test.bedloop.com/api/v1/blocks/1' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
{
"data": {
"id": 39,
"start_date": "2023-07-23",
"end_date": "2023-08-01",
"listing_id": 10,
"block_type": 7,
"reason": "Qui qui voluptas fuga."
}
}
With this endpoint, you will be able to view the blocks for the listing or room.
ID of the block to display.
Start date to display the prices for the listing. Dafault: today
End date to display the prices for the listing. Dafault: today + 1 Year
200
Ok Response
400
Bad Response Request
403
Forbidden Response
404
Not Found Response
curl --location 'https://test.bedloop.com/api/v1/blocks?start_date=2023-01-01&end_date=2024-01-01&listing_id=10' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
{
"data": [
{
"id": 1,
"start_date": "2023-07-23",
"end_date": "2023-08-01",
"listing_id": 10,
"block_type": 7,
"reason": "Qui qui voluptas fuga."
},
{
"id": 2,
"start_date": "2023-08-05",
"end_date": "2023-08-13",
"listing_id": 10,
"block_type": 2,
"reason": "Excepturi vel qui repudiandae velit eaque."
},
{
"id": 3,
"start_date": "2023-07-07",
"end_date": "2023-07-14",
"listing_id": 10,
"block_type": 2,
"reason": "Ut dolor aliquid autem sit velit vitae."
}
]
}
With this endpoint, you will be able to remove the corresponding block.
ID of the block to be removed.
200
Ok Response
400
Bad Response Request
403
Forbidden Response
404
Not Found Response
curl --location --request DELETE 'https://test.bedloop.com/api/v1/blocks/1' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
{
}
With this endpoint, you will be able to update the corresponding block.
ID of the block to update.
ID of the listing to update.
Type of block.
Start date of the block to be updated.
End date of the block to be updated.
Reason of the block to be updated.
{
"start_date": "2023-11-12",
"end_date": "2023-12-12",
"listing_id": "20",
"block_type": "1",
"reason": "Message"
}
{
"data": {
"id": 4,
"start_date": "2023-11-12",
"end_date": "2023-12-12",
"listing_id": "20",
"block_type": "1",
"reason": "Message"
}
}
With this endpoint, you will be able to create a new block.
ID of the listing to update.
Type of block.
Start date of the block to be updated.
End date of the block to be updated.
Reason of the block to be updated.
curl --location 'https://test.bedloop.com/api/v1/blocks' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
{
}
This API lets you get all reservations for a specific listing and date.
Listing ID to retrieve the bookings.
Start date to display the prices for the listing. Default: today
End date to display the prices for the listing. Default: today + 1 year
curl --location 'https://test.bedloop.com/api/v1/bookings?start_date=2023-01-01&end_date=2023-12-12' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
{
"data": [
{
"booking_number": 1,
"start_date": "2023-11-30",
"end_date": "2023-12-03",
"listing_id": 12
"customer_id": 19,
"state": 3,
"adults": 1,
"children": 2,
"paid": 0,
"arrival_time": "16:29:35",
"departure_time": "02:47:17",
"source_id": 11,
"deposit": 10,
"total": 211463,
"prepaid": -26053,
"tourist_tax": 0,
"opening_code": null,
"checkin_completed": true,
"key_numbers": 0,
"notes": "Esse est nostrum neque aut laborum occaecati.",
"services": [
{
"id": 1,
"qty": 1,
"price": 92300
}
{
"id": 23,
"qty": 1,
"price": 12000
}
],
"extras": []
},
...
]
}
This API lets you get all reservations for a specific listing.
Listing ID to retrieve the bookings.
curl --location 'https://test.bedloop.com/api/v1/bookings/1' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
{
"data": {
"booking_number": 1,
"start_date": "2023-06-14",
"end_date": "2023-06-16",
"customer_id": 84,
"state": 3,
"adults": 4,
"children": 0,
"infants": 1,
"paid": 0,
"arrival_time": "14:41:02",
"departure_time": "15:30:11",
"source_id": 4,
"deposit": 10,
"total": 63624,
"prepaid": -43722,
"tourist_tax": 0,
"opening_code": null,
"checkin_completed": true,
"key_numbers": 0,
"notes": "Et ut ullam dolores neque praesentium rerum laborum quos. Ea quo magnam dolores id est cum aut. Ratione accusantium est quaerat veniam reprehenderit est.",
"services": [
{
"id": 1,
"qty": 1,
"price": 92300
}
{
"id": 23,
"qty": 1,
"price": 12000
}
],
"extras": [],
"created_at": "2025-10-25 17:24:10",
"updated_at": "2025-10-25 18:24:10",
"customers": * SAME OBJECT DATA THAT "Customer by Booking Id" ENDPOINT *
}
}
Use this call to update a booking.
ID of the booking you want to update.
Type of Booking State. (canceled/confirmed)
Checkin Online done
Start date
End date
Number of adults
Number of children
Number of infants
Time to Arrival.
Time to Arrival until.
Time to Departure.
Time to Departure until.
Paid Amount
Tourist Tax Amount
Opening Code
Number of Keys
Booking Notes.
curl --location --request PUT 'https://test.bedloop.com/api/v1/bookings/1' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
--data '{
"status": "confirmed",
"checkin_online": 1,
"adults": 2,
"children": 2,
"arrival_time": "12:00",
"departure_time": "15:00",
"tourist_tax": "121",
"opening_code": "12345",
"key_numbers": "12345"
}'
{
"data": {
"booking_number": 100,
"start_date": "2023-06-14",
"end_date": "2023-06-16",
"customer_id": 84,
"state": 3,
"adults": 2,
"children": 2,
"infants": 1,
"paid": 0,
"arrival_time": "12:00",
"arrival_time_until": "13:00",
"departure_time": "15:00",
"departure_time_until": "15:30",
"source_id": 4,
"deposit": 10,
"total": 63624,
"prepaid": -43722,
"tourist_tax": "121",
"opening_code": null,
"key_numbers": "12345",
"notes": null,
"services": [
{
"id": 1,
"qty": 1,
"price": 92300
}
{
"id": 23,
"qty": 1,
"price": 12000
}
],
"extras": []
}
}
Use this call to create a booking.
Type of Booking State.
Start date
End date
Checkin Online done
Number of adults
Number of children
Number of infants
Time to Arrival.
Time to Arrival until.
Time to Departure.
Time to Departure until.
Paid Amount
Prepaid Amount
Booking Amount
Tourist Tax Amount
Opening Code
Number of Keys
Booking Notes.
Lines info. See "Lines array Object"
Customer info. See "Customer Object"
Guests info. See "Guests array Object"
Creation date
Cardholder Name
Card Number
Card Expiration Date
Card CVV
Concept id
Extra id
Line price (in cents, example: 3,44$ -> 344)
Day of pay
Type of pay
Customer id.
Customer email.
Customer name.
Customer surname.
Customer address.
Customer city.
Customer country_id.
Customer postal_code.
Customer phone.
Customer number_id.
Customer nationality.
Customer expedition_date.
Customer customer_type_id.
Customer sex. ('M', 'F')
Customer date_birth.
Customer language_id.
Customer language_code.
Booking origin name.
Booking origin code.
Guest name.
Guest surname.
Guest address.
Guest city.
Guest postal_code.
Guest birth_date.
Guest document_type_id.
Guest email.
Guest country_id.
Guest number id.
Guest nationality.
Guest expedition_date.
Guest id expiration date.
Guest sex. ('M', 'F')
curl --location 'https://test.bedloop.com/api/v1/bookings' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
--data
{
"listing_id": 12,
"status": "confirmed",
"checkin_online": 1,
"start_date": "2024-01-01",
"end_date": "2024-01-05",
"adults": 2,
"children": 2,
"infants": 1,
"arrival_time": "12:00",
"arrival_time_until": "13:00",
"departure_time": "15:00",
"departure_time_until": "15:30",
"tourist_tax": "121",
"opening_code": "12345",
"key_numbers": "12345",
"notes": "Booking notes",
"customer": {
//"id": 2,
"name": "Mark",
"surname": "Seiman",
"email": "MarkS@gmail.com",
"address": "street 33",
"city": "Manchester",
"country_id": 3,
"postal_code": "81513",
"phone": "+34686525414",
"number_id": "65134651M",
"nationality": 3,
"expedition_date": "1983-12-12",
"customer_type_id": 3,
"sex": "M",
"date_birth": "1983-09-10",
"language_id": "1",
"cardholder": "Mark Seiman",
"card_number": "4111111111111111",
"card_expiration": "12/24",
"card_cvv": "123"
},
"lines": [
{
"concept_id": 1,
//"extra_id": "",
"price": "10000"
},
{
"concept_id": 3,
//"extra_id": "",
"price": "25000",
"pay_date": "2023-12-12",
"type_pay": 1
}
],
"guests": [
{
"name": "Silver",
"surname": "Mark",
"address": "guest address",
"city": "Barcelona",
"postal_code": "08191",
"birth_date": "1999-10-10",
"document_type_id": 1,
"email": "silver@gmail.com",
"country_id": 1,
"number_id": "43534534534-H",
"nationality": 1,
"expedition_date": "2023-10-10",
"expiration_date": "2024-10-10",
"sex": "M"
},
{
"name": "Jhon",
"surname": "Seiman",
"address": "street 33",
"city": "Barcelona",
"postal_code": "08191",
"birth_date": "1999-10-10",
"document_type_id": 1,
"email": "jhom@gmail.com",
"country_id": 1,
"number_id": "13344534-H",
"nationality": 1,
"expedition_date": "2023-10-10",
"expiration_date": "2024-10-10",
"sex": "M"
}
]
}
This endpoint allows you to retrieve all customer data from booking id.
Booking ID to retrieve customer information.
curl --location 'https://test.bedloop.com/api/v1/customers?booking_id=100' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
{
"data": {
"user": {
"id": 84,
"name": "Helena",
"lastname": "Aparicio",
"email": "franciscojavier.moran@echevarria.es",
"address": "Calle Esquibel, 132, 9º D, 25848, Rentería del Pozo",
"city": "Domínguez de San Pedro",
"customer_type": {
"id": 5,
"nombre": "Recurrente",
"created_at": null,
"updated_at": null
},
"country": "Malta",
"zip_code": "23511",
"number_id": "965288387",
"document_type": "Permiso de conducir",
"nationality": "Colombia",
"sex": "M",
"date_issue": "2007-11-11",
"date_birth": "1984-12-18"
},
"guests": [
{
"name": "Adaline",
"lastname": "VonRueden",
"email": "prohaska.caleigh@monahan.biz",
"address": "48970 Watsica Fork Apt. 315\nSouth Vitochester, AR 48787",
"city": "East Destinee",
"country": 96,
"zip_code": "63397-9769",
"number_id": "(754) 518-9513",
"document_type": "Permiso de residencia",
"nationality": "217",
"sex": "F",
"date_issue": "2023-02-02",
"date_birth": "1975-08-08"
},
{
"name": "Name",
"lastname": "Beahan",
"email": "jayson.reichel@botsford.com",
"address": "446 Wunsch Forest Apt. 511\nAlyceberg, SC 23527-5325",
"city": "Aufderharbury",
"country": 131,
"zip_code": "75468-8581",
"number_id": "+1.564.480.4855",
"document_type": "DNI extranjero",
"nationality": "254",
"sex": "F",
"date_issue": "1973-08-16",
"date_birth": "1976-07-10"
},
{
"name": "Abigale",
"lastname": "Renner",
"email": "aabbott@ziemann.net",
"address": "73130 Ankunding Drive Apt. 803\nMasonshire, SC 03784-5271",
"city": "East Wava",
"country": 229,
"zip_code": "23251-0498",
"number_id": "1-283-341-9335",
"document_type": "Permiso de residencia",
"nationality": "193",
"sex": "M",
"date_issue": "2021-04-18",
"date_birth": "2011-09-16"
},
{
"name": "Ottilie",
"lastname": "Daniel",
"email": "kiana19@hotmail.com",
"address": "1437 Keon Inlet\nEast Name, WI 91328-8530",
"city": "East Emieport",
"country": 71,
"zip_code": "60719-4892",
"number_id": "385-735-0579",
"document_type": "Pasaporte",
"nationality": "54",
"sex": "F",
"date_issue": "1984-11-20",
"date_birth": "2003-11-12"
}
]
}
}
This endpoint allows you to retrieve all customer data.
Customer ID to display.
curl --location 'https://test.bedloop.com/api/v1/customers/100' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
{
"data": {
"user": {
"id": 100,
"name": "Ana María",
"lastname": "Valentín",
"email": "rocio01@hernadez.es",
"address": "Calle Razo, 19, 47º B, 40441, L' Barrera del Pozo",
"city": "San Galván del Barco",
"customer_type": {
"id": 4,
"nombre": "Perdido"
},
"country": null,
"zip_code": "21637",
"number_id": "943-931761",
"document_type": null,
"nationality": "Irán",
"sex": "M",
"date_issue": "1980-03-12",
"date_birth": "2002-12-17"
}
}
}
Use this call to update a customer.
ID of the customer you want to update.
Name of the customer.
Lastname of the customer.
Email of the customer.
Address of the customer.
City of the customer.
Type of the customer.
Country of the customer.
Zip Code of the customer.
Number ID of the customer.
Nationality of the customer.
Sex of the customer. ('M', 'F')
Date of issuance of the customer.
Birthdate of the customer.
curl --location 'https://test.bedloop.com/api/v1/customers/{customer_id}' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
{
"name": "Juan",
"lastname": "Sanchez",
"email": "sadsad@dasdas.com",
"address": "calle san isidro",
"city": "Barcelona",
"customer_type": 1,
"country": 1,
"zip_code": "08919",
"number_id": "63156351D",
"nationality": 1,
"sex": "M",
"date_issue": "2023-12-12",
"date_birth": "2089-12-12"
}
This endpoint allows you to retrieve all guests data from booking id.
Booking ID to retrieve guest information.
curl --location 'https://test.bedloop.com/api/v1/customers/guests/100' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
{
"data": {
"user": {
"id": 84,
"name": "Helena",
"lastname": "Aparicio",
"email": "franciscojavier.moran@echevarria.es",
"address": "Calle Esquibel, 132, 9º D, 25848, Rentería del Pozo",
"city": "Domínguez de San Pedro",
"customer_type": {
"id": 5,
"nombre": "Recurrente",
"created_at": null,
"updated_at": null
},
"country": "Malta",
"zip_code": "23511",
"number_id": "965288387",
"document_type": "Permiso de conducir",
"nationality": "Colombia",
"sex": "M",
"date_issue": "2007-11-11",
"date_birth": "1984-12-18"
},
"guests": [
{
"name": "Adaline",
"lastname": "VonRueden",
"email": "prohaska.caleigh@monahan.biz",
"address": "48970 Watsica Fork Apt. 315\nSouth Vitochester, AR 48787",
"city": "East Destinee",
"country": 96,
"zip_code": "63397-9769",
"number_id": "(754) 518-9513",
"document_type": "Permiso de residencia",
"nationality": "217",
"sex": "F",
"date_issue": "2023-02-02",
"date_birth": "1975-08-08"
},
{
"name": "Name",
"lastname": "Beahan",
"email": "jayson.reichel@botsford.com",
"address": "446 Wunsch Forest Apt. 511\nAlyceberg, SC 23527-5325",
"city": "Aufderharbury",
"country": 131,
"zip_code": "75468-8581",
"number_id": "+1.564.480.4855",
"document_type": "DNI extranjero",
"nationality": "254",
"sex": "F",
"date_issue": "1973-08-16",
"date_birth": "1976-07-10"
},
{
"name": "Abigale",
"lastname": "Renner",
"email": "aabbott@ziemann.net",
"address": "73130 Ankunding Drive Apt. 803\nMasonshire, SC 03784-5271",
"city": "East Wava",
"country": 229,
"zip_code": "23251-0498",
"number_id": "1-283-341-9335",
"document_type": "Permiso de residencia",
"nationality": "193",
"sex": "M",
"date_issue": "2021-04-18",
"date_birth": "2011-09-16"
},
{
"name": "Ottilie",
"lastname": "Daniel",
"email": "kiana19@hotmail.com",
"address": "1437 Keon Inlet\nEast Name, WI 91328-8530",
"city": "East Emieport",
"country": 71,
"zip_code": "60719-4892",
"number_id": "385-735-0579",
"document_type": "Pasaporte",
"nationality": "54",
"sex": "F",
"date_issue": "1984-11-20",
"date_birth": "2003-11-12"
}
]
}
}
This endpoint allows you to retrieve all guest data.
Guest ID to display.
curl --location 'https://test.bedloop.com/api/v1/guests/100' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
{
"data": {
"guest": {
"id": 100,
"name": "Ana María",
"lastname": "Valentín",
"email": "rocio01@hernadez.es",
"address": "Calle Razo, 19, 47º B, 40441, L' Barrera del Pozo",
"city": "San Galván del Barco",
"country": null,
"zip_code": "21637",
"number_id": "943-931761",
"document_type": null,
"nationality": "Irán",
"sex": "M",
"date_issue": "1980-03-12",
"date_birth": "2002-12-17"
}
}
}
Use this call to update a guest.
ID of the guest you want to update.
Name of the guest.
Lastname of the guest.
Email of the guest.
Address of the guest.
City of the guest.
Type of the guest.
Country of the guest.
Zip Code of the guest.
Number ID of the guest.
Nationality of the guest.
Sex of the guest. ('M', 'F')
Date of issuance of the guest.
Birthdate of the guest.
curl --location 'https://test.bedloop.com/api/v1/guests/{guest_id}' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
{
"name": "Juan",
"lastname": "Sanchez",
"email": "sadsad@dasdas.com",
"address": "calle san isidro",
"city": "Barcelona",
"customer_type": 1,
"country": 1,
"zip_code": "08919",
"number_id": "63156351D",
"nationality": 1,
"sex": "M",
"date_issue": "2023-12-12",
"date_birth": "2089-12-12"
}
Id Booking.
Name of the guest.
Lastname of the guest.
Email of the guest.
Address of the guest.
City of the guest.
Type of the guest.
Country of the guest.
Zip Code of the guest.
Number ID of the guest.
Nationality of the guest.
Sex of the guest. ('M', 'F')
Date of issuance of the guest.
Birthdate of the guest.
curl --location 'https://test.bedloop.com/api/v1/guests' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
{
"id": 207740,
"guest":{
"name": "Juan",
"lastname": "Sanchez",
"email": "sadsad@dasdas.com",
"address": "calle san isidro",
"city": "Barcelona",
"customer_type": 1,
"country": 1,
"zip_code": "08919",
"number_id": "63156351D",
"nationality": 1,
"sex": "M",
"date_issue": "2023-12-12",
"date_birth": "2089-12-12"
}
}
At this endpoint, you can retrieve the incident data based on the ID.
The listing ID of the incident to be displayed.
Date from. Default Today
Date to. . Default Today + 1 year
curl --location 'https://test.bedloop.com/api/v1/incidents?start_date=2024-01-01&end_date=2024-01-10&listing_id=100' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
{
"data": [
{
"id": 3,
"priority": 2,
"date": "2023-08-21 12:08:00",
"subtitle": null,
"note": "notes for Pedro: ------------- Pedro // 2023-08-21 14:57:10 ----------------
",
"images": [],
"properties": [
{
"listing_id": 4,
"finished": 0,
"finish_date": null
}
]
},
...
]
}
The ID of the incident to be deleted.
The ID of the incident to be deleted.
curl --location 'https://test.bedloop.com/api/v1/incidences/100' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
The ID of the incident to be updated.
The incidence ID.
Type of priority. ('low' => 1, 'medium' => 2, 'hight' => 3, 'urgent' => 4)
Type of priority.
Subtitle of the incidence.
Note of the incidence.
{
"priority": 2,
"date": "2023-08-21 12:08:00",
"subtitle": "",
"note": "Notes------------- Mala // 2023-08-21 14:57:10 ----------------
",
}
At this endpoint, you can retrieve the mainteance data based on the listing ID.
The listing ID of the mainteance to be displayed.
Date from. Default Today
Date to. . Default Today + 1 year
curl --location 'https://test.bedloop.com/api/v1/mainteance?start_date=2024-01-01&end_date=2024-01-10&listing_id=100' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
{
"data": [
{
"booking_id": 43,
"type": 0,
"date": "2023-06-15",
"hour": "",
"inspected": 0,
"inspection_date": null,
"duration": "",
"start": null,
"end": null,
"pending": 1,
"notes": ""
},
{
"booking_id": 43,
"type": 1,
"date": "2023-06-20",
"hour": "",
"inspected": 0,
"inspection_date": null,
"duration": "",
"start": null,
"end": null,
"pending": 1,
"notes": ""
},
...
]
}
At this endpoint, you can retrieve the mainteance data based on the ID.
The ID of the mainteance to be displayed.
curl --location 'https://test.bedloop.com/api/v1/mainteance/100' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
{
"data": {
"booking_id": 50,
"type": 1,
"date": "2023-06-25",
"hour": "",
"inspected": 0,
"inspection_date": null,
"duration": "",
"start": null,
"end": null,
"pending": 1,
"notes": ""
}
}
The ID of the mainteance to be deleted.
The ID of the mainteance to be deleted.
curl --location 'https://test.bedloop.com/api/v1/mainteance/{mainteance_id}' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
The ID of the mainteance to be updated.
The mainteance ID.
Type of Maintenance. (entrance->0, exit->1)
The date of the mainteance.
Hour of the mainteance. ('12:12')
Inspected mainteance.
Date Inspected mainteance.
Duration of the mainteance. ('12:12')
Notes of the incidence.
curl --location 'https://test.bedloop.com/api/v1/mainteance/100' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
{
"data": {
"id": 86,
"listing_id": 100,
"booking_id": 43,
"type": 1,
"date": "2024-10-10",
"hour": "12:00",
"inspected": true,
"inspection_date": "2024-10-10",
"duration": "01:00",
"start": null,
"end": null,
"pending": 1,
"notes": "Maintenance note"
}
}
Get the cleanings by Listing id
The Listing ID.
Date from. Default Today
Date to. . Default Today + 1 year
curl --location 'https://test.bedloop.com/api/v1/cleanings?start_date=2024-01-01&end_date=2024-01-10&listing_id=100' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
{
"data": [
{
listing_id": 100,
"status": 0,
"date": "2023-06-20",
"inspected": 0,
"time": "00:00",
"duration": "00:00",
"booking_id": 43,
"notes": "A et laborum illo voluptate. Pariatur accusantium est saepe. Dolor magnam molestias unde qui voluptas aut."
},
{
"listing_id": 100,
"status": 0,
"date": "2023-06-15",
"inspected": 0,
"time": "00:00",
"duration": "00:00",
"booking_id": 43,
"notes": "Ratione quos ratione expedita magni. Consectetur nisi maiores et non."
},
...
]
}
The ID of the cleaning to be displayed.
The cleaning ID.
curl --location 'https://test.bedloop.com/api/v1/cleanings/100' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
{
"data": {
"id": 85,
"listing_id": 100,
"status": 0,
"date": "2023-06-20",
"inspected": 0,
"time": "00:00",
"duration": "00:00",
"booking_id": 43,
"notes": "A et laborum illo voluptate. Pariatur accusantium est saepe. Dolor magnam molestias unde qui voluptas aut. Soluta pariatur quas id fuga. Esse provident est tenetur."
}
}
The ID of the cleaning to be deleted.
The cleaning ID.
curl --location 'https://test.bedloop.com/api/v1/cleaning/100' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
The ID of the cleaning to be updated.
The cleaning ID.
Status of the cleaning/property.
The date of the cleaning.
Hour of the cleaning. ('12:20')
Inspected.
Duration of the cleaning. ('10:20')
Notes of the cleaning.
curl --location 'https://test.bedloop.com/api/v1/cleaning/85' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
{
"data": {
"id": 86,
"listing_id": 100,
"status": 1,
"date": "2024-12-12",
"inspected": false,
"time": "12:00",
"duration": "01:00",
"booking_id": 43,
"notes": "cleaning note"
}
}
curl --location 'https://test.bedloop.com/api/v1/destinations' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
{
"data": [
{
"id": 1,
"name": "Las Acosta de las Torres",
"tourist_tax": "5.33",
"latitude": -2.665799,
"longitude": 110.717583,
"max_days": "25"
},
{
"id": 2,
"name": "Galindo del Bages",
"tourist_tax": "6.14",
"latitude": -43.869868,
"longitude": 5.786544,
"max_days": "20"
},
...
]
}
Destination name
Tax
Minimum days in long stay
Latitude coordinate
Longitude coordinate
Order
Exempt Age
Max day
Description
Dinamic Url
Menu Namee
curl --location 'https://test.bedloop.comapi/v1/destinations' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
{
"name": {
"en": "Destination Name",
"es": "Nombre destino"
},
"tax": 10,
"min_days_long_stay": 10,
"lat": 42.5541,
"lng": 42.5541,
"order": 15,
"exempt_age": 12,
"max_days": 30,
"text": {
"es": "Descripción corta español",
"en": "English short Description"
},
"dinamic_url": {
"es": "Url dinamica",
"en": "Dinamic url"
},
"menu_name": {
"es": "Nombre Menu",
"en": "Menu name"
}
}
Destination ID
Destination name
Tax
Minimum days in long stay
Latitude coordinate
Longitude coordinate
Order
Exempt Age
Max day
Description
Dinamic Url
Menu Namee
curl --location 'https://test.bedloop.comapi/v1/destinations/1' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
{
"name": {
"en": "Destination Name",
"es": "Nombre destino"
},
"tax": 10,
"min_days_long_stay": 10,
"lat": 42.5541,
"lng": 42.5541,
"order": 15,
"exempt_age": 12,
"max_days": 30,
"text": {
"es": "Descripción corta español",
"en": "English short Description"
},
"dinamic_url": {
"es": "Url dinamica",
"en": "Dinamic url"
},
"menu_name": {
"es": "Nombre Menu",
"en": "Menu name"
}
}
curl --location 'https://test.bedloop.com/api/v1/origins' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
{
"data": [
{
"id": 1,
"name": "BedLoop",
"active": 0,
"tourist_tax": 0
},
{
"id": 2,
"name": "Booking",
"active": 0,
"tourist_tax": 0
},
...
]
}
This call returns all Intranet users
200
Ok Response
400
Bad Request
401
"message": "Unauthenticated."
500
Internal Error
curl --location 'https://test.bedloop.com/api/v1/admins' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
{
"data": [
{
"username": "Martin123",
"password": "12345",
"department": "Reception",
"name": "Martin",
"last_name": "Jane",
"date_of_birth": "2000/01/05",
"address": "Plaça Ramón, 815, 67º E",
"city": "Barcelona",
"zip_code": "08111",
"email": "Martin@bedloop.com",
"phone": "+34668959585",
"active": "true",
"notes": "",
"iso_lang": "EN",
"user_type": "Internal",
}
...
]
}
Use this API to retrieve an existing Users.
User ID
200
Ok Response
401
"message": "Unauthenticated."
500
Internal Error
404
Not Found Response
curl --location 'https://test.bedloop.com/api/v1/admins/1' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
{
"User":
{
"username": "Martin123",
"password": "12345",
"department": "Reception",
"name": "Martin",
"last_name": "Jane",
"date_of_birth": "2000/01/05",
"address": "Plaça Ramón, 815, 67º E",
"city": "Barcelona",
"zip_code": "08111",
"email": "Martin@bedloop.com",
"phone": "+34668959585",
"active": "true",
"notes": "",
"iso_lang": "EN",
"user_type": "Internal",
}
}
This call returns all of a host’s listings, whether they are connected via the API or not. Look at the synchronization_category field to see whether the listing is connected; non-connected listings will have a synchronization_category value of none.
User name
User Password
One of: Cleaning, Maintenance, Reception, Reservations, Administration, IT, Management, Owners
Name
Last name
Date of birth
Address
City name
Zip Code, please verify the code to send.
User Email
User Phone number
Is user Active?
Notes
Lang in iso format: 'EN', 'ES'...
User type of: 'Internal', 'External'
curl --location 'https://test.bedloop.com/api/v1/listings' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
{
"username": "Martin123",
"password": "12345",
"department": "Reception",
"name": "Martin",
"last_name": "Jane",
"date_of_birth": "2000/01/05",
"address": "Plaça Ramón, 815, 67º E",
"city": "Barcelona",
"zip_code": "08111",
"email": "Martin@bedloop.com",
"phone": "+34668959585",
"active": "true",
"notes": "",
"iso_lang": "EN",
"user_type": "Internal",
}
Admin ID
User name
User Password
One of: Cleaning, Maintenance, Reception, Reservations, Administration, IT, Management, Owners
Name
Last name
Date of birth
Address
City name
Zip Code, please verify the code to send.
User Email
User Phone number
Is user Active?
Notes
Lang in iso format: 'EN', 'ES'...
User type of: 'Internal', 'External'
curl --location 'https://test.bedloop.com/api/v1/admins/1' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
{
"username": "Martin123",
"password": "12345",
"department": "Reception",
"name": "Martin",
"last_name": "Jane",
"date_of_birth": "2000/01/05",
"address": "Plaça Ramón, 815, 67º E",
"city": "Barcelona",
"zip_code": "08111",
"email": "Martin@bedloop.com",
"phone": "+34668959585",
"active": "true",
"notes": "",
"iso_lang": "EN",
"user_type": "Internal",
}
This call returns all owners.
200
Ok Response
400
Bad Request
401
"message": "Unauthenticated."
500
Internal Error
curl --location 'https://test.bedloop.com/api/v1/owners' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
{
"data": [
{
"id": "1"
"company_name": "Vacational corp."
"name": "Martin"
"email": "Martin@bedloop.com"
"phone": "+34998989898"
"document_number": "12345678H"
"tourist_tax": "20"
...
}
]
}
Use this API to retrieve an owner.
Owner ID
200
Ok Response
401
"message": "Unauthenticated."
500
Internal Error
404
Not Found Response
curl --location 'https://test.bedloop.com/api/v1/owner/1' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
{
"id": "1"
"company_name": "Vacational corp."
"name": "Martin"
"email": "Martin@bedloop.com"
"phone": "+34998989898"
"document_number": "12345678H"
"tourist_tax": "20"
}
This call create an Owner
Company name
Owner Name
Owner email
Owner Phone
Owner document number
Fiscal address
Fiscal city
Fiscal phone
Fiscal post code
curl --location 'https://test.bedloop.com/api/v1/owners' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
{
"company_name": "Vacational corp."
"name": "Martin"
"email": "Martin@bedloop.com"
"phone": "+34998989898"
"document_number": "12345678H"
"fiscal_address": "c/sant andreu"
"fiscal_city": "Barcelona"
"fiscal_phone": "+34998656525"
"fiscal_postal_code": "12345"
}
This call update an Owner
Owner ID
Company name
Owner Name
Owner email
Owner Phone
Owner document number
Fiscal address
Fiscal city
Fiscal phone
Fiscal post code
curl --location 'https://test.bedloop.com/api/v1/owners/1' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
{
"company_name": "Vacational corp."
"name": "Martin"
"email": "Martin@bedloop.com"
"phone": "+34998989898"
"document_number": "12345678H"
"fiscal_address": "c/sant andreu"
"fiscal_city": "Barcelona"
"fiscal_phone": "+34998656525"
"fiscal_postal_code": "12345"
}
Use this API to retrieve an cost.
costs ID
200
Ok Response
401
"message": "Unauthenticated."
500
Internal Error
404
Not Found Response
curl --location 'https://test.bedloop.com/api/v1/costs/1' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
{
"id": "1"
"company_name": "Vacational corp."
"name": "Martin"
"email": "Martin@bedloop.com"
"phone": "+34998989898"
"document_number": "12345678H"
"tourist_tax": "20"
}
This call returns all costs.
200
Ok Response
400
Bad Request
401
"message": "Unauthenticated."
500
Internal Error
curl --location 'https://test.bedloop.com/api/v1/costs' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
{
"data": [
{
"id": "1"
"company_name": "Vacational corp."
"name": "Martin"
"email": "Martin@bedloop.com"
"phone": "+34998989898"
"document_number": "12345678H"
"tourist_tax": "20"
...
}
]
}
This call create a Cost
Company name
Owner Name
Owner email
Owner Phone
Owner document number
Fiscal address
Fiscal city
Fiscal phone
Fiscal post code
curl --location 'https://test.bedloop.com/api/v1/costs' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
{
"company_name": "Vacational corp."
"name": "Martin"
"email": "Martin@bedloop.com"
"phone": "+34998989898"
"document_number": "12345678H"
"fiscal_address": "c/sant andreu"
"fiscal_city": "Barcelona"
"fiscal_phone": "+34998656525"
"fiscal_postal_code": "12345"
}
This call update an cost
Owner ID
Company name
Owner Name
Owner email
Owner Phone
Owner document number
Fiscal address
Fiscal city
Fiscal phone
Fiscal post code
curl --location 'https://test.bedloop.com/api/v1/costs/1' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
{
"company_name": "Vacational corp."
"name": "Martin"
"email": "Martin@bedloop.com"
"phone": "+34998989898"
"document_number": "12345678H"
"fiscal_address": "c/sant andreu"
"fiscal_city": "Barcelona"
"fiscal_phone": "+34998656525"
"fiscal_postal_code": "12345"
}
Use this API to retrieve threads from booking ID.
Booking ID
200
Ok Response
401
"message": "Unauthenticated."
500
Internal Error
404
Not Found Response
curl --location 'https://test.bedloop.com/api/v1/threads/255421' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
{
"data": [
{
"id": 2,
"listing_id": 1213,
"booking_id": 207693,
"customer_id": 82312,
"origin": "Booking",
"external_id": "12345",
"type": "Reservation",
"created_at": "2025-01-31T14:42:44.000000Z",
"messages": [
{
"id": 1,
"thread_id": null,
"in_out": 1,
"message": "test 1",
"external_id": "22089231890",
"type": null,
"created_at": "2024-09-23T12:46:33.000000Z"
},
...
]
},
...
]
}
This call send a message
Id of the thread
Message content
curl --location 'https://test.bedloop.com/api/v1/threads' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
{
"thread_id": 2,
"message": "Welcome to the amazing paradise!"
}
On this page, you have the complete list of countries with their ISO code, the country name, and the ID that should be sent in some of the API endpoints.
| id | ISO | Country Name |
|---|---|---|
| 1 | AF | Afghanistan |
| 3 | AL | Albania |
| 4 | DE | Germany |
| 5 | AD | Andorra |
| 6 | AO | Angola |
| 7 | AI | Anguilla |
| 9 | AG | Antigua and Barbuda |
| 11 | SA | Saudi Arabia |
| 12 | DZ | Algeria |
| 13 | AR | Argentina |
| 14 | AM | Armenia |
| 15 | AW | Aruba |
| 16 | AU | Australia |
| 17 | AT | Austria |
| 18 | AZ | Azerbaijan |
| 19 | BS | Bahamas |
| 20 | BH | Bahrain |
| 21 | BD | Bangladesh |
| 22 | BB | Barbados |
| 23 | BY | Belarus |
| 24 | BE | Belgium |
| 25 | BZ | Belize |
| 26 | BJ | Benin |
| 27 | BM | Bermuda |
| 28 | BT | Bhutan |
| 29 | BO | Bolivia |
| 30 | BA | Bosnia and Herzegovina |
| 31 | BW | Botswana |
| 33 | BR | Brazil |
| 34 | BN | Brunei |
| 35 | BG | Bulgaria |
| 36 | BF | Burkina Faso |
| 37 | BI | Burundi |
| 38 | CV | Cabo Verde |
| 39 | KY | Cayman Islands |
| 40 | KH | Cambodia |
| 41 | CM | Cameroon |
| 42 | CA | Canada |
| 43 | CF | Central African Republic |
| 44 | TD | Chad |
| 45 | CZ | Czech Republic |
| 46 | CL | Chile |
| 47 | CN | China |
| 48 | CY | Cyprus |
| 49 | CX | Christmas Island |
| 50 | VA | Vatican |
| 51 | CC | Cocos Islands |
| 52 | CO | Colombia |
| 53 | KM | Comoros |
| 54 | CD | Democratic Republic of Congo |
| 55 | CG | Congo |
| 56 | CK | Cook Islands |
| 57 | KP | North Korea |
| 58 | KR | South Korea |
| 59 | CI | Ivory Coast |
| 60 | CR | Costa Rica |
| 61 | HR | Croatia |
| 62 | CU | Cuba |
| 63 | DK | Denmark |
| 64 | DM | Dominica |
| 65 | DO | Dominican Republic |
| 66 | EC | Ecuador |
| 67 | EG | Egypt |
| 68 | SV | El Salvador |
| 69 | AE | United Arab Emirates |
| 70 | ER | Eritrea |
| 71 | SK | Slovakia |
| 72 | SI | Slovenia |
| 73 | ES | Spain |
| 75 | US | USA |
| 76 | EE | Estonia |
| 77 | ET | Ethiopia |
| 78 | FO | Faroe Islands |
| 79 | PH | Philippines |
| 80 | FI | Finland |
| 81 | FJ | Fiji |
| 82 | FR | France |
| 83 | GA | Gabon |
| 84 | GM | Gambia |
| 85 | GE | Georgia |
| 87 | GH | Ghana |
| 88 | GI | Gibraltar |
| 89 | GD | Granada |
| 90 | GR | Greece |
| 91 | GL | Greenland |
| 92 | GP | Guadalupe |
| 93 | GU | Guam |
| 94 | GT | Guatemala |
| 95 | GF | French Guiana |
| 96 | GN | Guinea |
| 97 | GQ | Equatorial Guinea |
| 98 | GW | Guinea-Bissau |
| 99 | GY | Guyana |
| 100 | HT | Haiti |
| 102 | HN | Honduras |
| 103 | HK | Hong Kong |
| 104 | HU | Hungary |
| 105 | IN | India |
| 106 | ID | Indonesia |
| 107 | IR | Iran |
| 108 | IQ | Iraq |
| 109 | IE | Ireland |
| 110 | IS | Iceland |
| 111 | IL | Israel |
| 112 | IT | Italy |
| 113 | JM | Jamaica |
| 114 | JP | Japan |
| 115 | JO | Jordan |
| 116 | KZ | Kazakhstan |
| 117 | KE | Kenya |
| 118 | KG | Kyrgyzstan |
| 119 | KI | Kiribati |
| 120 | KW | Kuwait |
| 121 | LA | Laos |
| 122 | LS | Lesotho |
| 123 | LV | Latvia |
| 124 | LB | Lebanon |
| 125 | LR | Liberia |
| 126 | LY | Libya |
| 127 | LI | Liechtenstein |
| 128 | LT | Lithuania |
| 129 | LU | Luxembourg |
| 130 | MO | Macao |
| 131 | MK | FYR Macedonia |
| 132 | MG | Madagascar |
| 133 | MY | Malaysia |
| 134 | MW | Malawi |
| 135 | MV | Maldives |
| 136 | ML | Mali |
| 137 | MT | Malta |
| 140 | MA | Morocco |
| 141 | MH | Marshall Islands |
| 142 | MQ | Martinique |
| 143 | MU | Mauritius |
| 144 | MR | Mauritania |
| 145 | YT | Mayotte |
| 146 | MX | Mexico |
| 147 | FM | Micronesia |
| 148 | MD | Moldova |
| 149 | MC | Monaco |
| 150 | MN | Mongolia |
| 151 | MS | Montserrat |
| 152 | MZ | Mozambique |
| 153 | MM | Myanmar |
| 154 | NA | Namibia |
| 155 | NR | Nauru |
| 156 | NP | Nepal |
| 157 | NI | Nicaragua |
| 158 | NE | Niger |
| 159 | NG | Nigeria |
| 160 | NU | Niue |
| 161 | NF | Norfolk Island |
| 162 | NO | Norway |
| 163 | NC | New Caledonia |
| 164 | NZ | New Zealand |
| 165 | OM | Oman |
| 166 | NL | Netherlands |
| 167 | PK | Pakistan |
| 168 | PW | Palau |
| 169 | PS | Palestine |
| 170 | PA | Panama |
| 171 | PG | Papua New Guinea |
| 172 | PY | Paraguay |
| 173 | PE | Peru |
| 174 | PN | Pitcairn Islands |
| 175 | PF | French Polynesia |
| 176 | PL | Poland |
| 177 | PT | Portugal |
| 178 | PR | Puerto Rico |
| 179 | QA | Qatar |
| 180 | GB | United Kingdom |
| 181 | RE | Réunion |
| 182 | RW | Rwanda |
| 183 | RO | Romania |
| 184 | RU | Russia |
| 185 | EH | Occidental Sahara |
| 186 | SB | Solomon Islands |
| 187 | WS | Samoa |
| 188 | AS | American Samoa |
| 189 | KN | Saint Kitts and Nevis |
| 190 | SM | San Marino |
| 191 | PM | Saint Pierre and Miquelon |
| 192 | VC | St. Vincent and the Grenadines |
| 193 | SH | Saint Helena |
| 194 | LC | Saint Lucia |
| 195 | ST | Sao Tome and Principe |
| 196 | SN | Senegal |
| 197 | CS | Serbia |
| 198 | SC | Seychelles |
| 199 | SL | Sierra Leone |
| 200 | SG | Singapore |
| 201 | SY | Syria |
| 202 | SO | Somalia |
| 203 | LK | Sri Lanka |
| 204 | SZ | Swaziland |
| 205 | ZA | South Africa |
| 206 | SD | Sudan |
| 207 | SE | Sweden |
| 208 | CH | Switzerland |
| 209 | SR | Surinam |
| 210 | SJ | Svalbard and Jan Mayen |
| 211 | TH | Thailand |
| 212 | TW | Taiwan |
| 213 | TZ | Tanzania |
| 214 | TJ | Tajikistan |
| 217 | TL | East Timor |
| 218 | TG | Togo |
| 219 | TK | Tokelau |
| 220 | TO | Tonga |
| 221 | TT | Trinidad and Tobago |
| 222 | TN | Tunisia |
| 223 | TC | Turks and Caicos Islands |
| 224 | TM | Turkmenistan |
| 225 | TR | Turkey |
| 226 | TV | Tuvalu |
| 227 | UA | Ukraine |
| 228 | UG | Uganda |
| 229 | UY | Uruguay |
| 230 | UZ | Uzbekistan |
| 231 | VU | Vanuatu |
| 232 | VE | Venezuela |
| 233 | VN | Vietnam |
| 234 | VG | British Virgin Islands |
| 235 | VI | Virgin Islands of the United States |
| 236 | WF | Wallis and Futuna |
| 237 | YE | Yemen |
| 238 | DJ | Djibouti |
| 239 | ZM | Zambia |
| 240 | ZW | Zimbabwe |
| 241 | CT | Catalonia |
| 242 | XK | Kosovo |
| 243 | ALA | Aland Islands |
| 244 | BES | Bonaire |
| 245 | BV | Bouvet Island |
| 246 | IOT | British Indian Ocean Territory |
| 247 | MMR | Burma |
| 248 | CPV | Cape Verde |
| 249 | Caribbean | |
| 250 | CIV | Cote d'Ivoire |
| 251 | CUW | Curacao |
| 252 | FLK | Falkland Island |
| 253 | FSM | Federated States of Micronesia |
| 254 | TF | French Southern Territories |
| 255 | GRD | Grenada |
| 256 | GGY | Guernsey |
| 257 | VAT | Holy See |
| 258 | IMN | Isle of Man |
| 259 | JEY | Jersey |
| 260 | MKD | Macedonia |
| 261 | MNE | Montenegro |
| 262 | COG | Republic of the Congo |
| 263 | VCT | Saint Vincent and the Grenadines |
| 264 | BLM | Saint-Barthélemy |
| 265 | STP | Sao Tome and Principe |
| 266 | SGS | South Georgia and the South Sandwich Islands |
| 267 | TLS | Timor-Leste |
| 268 | VIR | U.S. Virgin Islands |
| 269 | UMI | United States Minor Outlying Islands |
| 270 | COD | Zaire |
On this page, we will show you the different states of block.
| id | Name | Blocks the calendar |
|---|---|---|
| 1 | Closing Sales | Yes |
| 2 | Out of Service | No |
| 4 | Blocking from another provider | Yes |
| id | Status | Blocks the calendar |
|---|---|---|
| 1 | Cancelled | No |
| 2 | Pre Booking | No |
| 3 | Confirmed | Yes |
| 4 | Abandonate | No |
| 5 | On Request | No |
| 6 | Provisional | Yes |
| 8 | No Show | Yes |
| 9 | Virtual | No |
On this page, we will show you the different concepts.
| id | Name |
|---|---|
| 1 | Accommodation |
| 2 | Real Accommodation |
| 3 | Prepaid |
| 4 | Taxi |
| 5 | Tourist Tax |
| 6 | Owner's stay |
| 7 | Cleaning |
| 8 | Late Checkin |
| 9 | Late Check Out |
| 10 | Remaining payment |
| 11 | Extras |
| 21 | PAX Extra |
| 26 | Various |
| 27 | Return |
| 52 | Service Fee |
| 53 | Adult breakfast |
| 54 | Children's breakfast |
| 55 | Single service fee |
| 56 | Paypal service fee |
| 57 | Discount |
| 58 | OTA service fee |
| 59 | TPV Commission |
| 60 | PayPal Commission |
| 61 | Stripe Commission |
| 100 | Discount Code |
| 101 | VAT |
On this page, we will show you the different extra fees.
| id | Name |
|---|---|
| 5 | Final Cleaning |
| 6 | Cot |
| 7 | Transfer Airport |
| 8 | Extra Cleaning |
| 9 | High Chair |
| 10 | Transfer to Apartment |
| 1003 | Environment Fee |
| 1004 | Spa |
| 1005 | Hot Springs |
| 1006 | Municipality Fee |
| 1007 | Residential Tax |
| 1008 | Public Transit Day Ticket |
| 1009 | Heritage charge |
| 1010 | Sauna/fitness facilities tax |
| 1011 | Local council tax |
| 1012 | Cleaning |
| 1013 | Towels |
| 1014 | Electricity |
| 1015 | Linens |
| 1016 | Gas |
| 1017 | Oil |
| 1018 | Wood |
| 1019 | Water |
| 1020 | Transfer Fee |
| 1021 | Clothing Package |
| 1022 | Heating |
| 1023 | Air Conditioner |
| 1024 | Kitchen linen fee |
| 1026 | Shuttle boat fee |
| 1027 | Seaplane |
| 1028 | Ski Pass |
| 1029 | Wristband |
| 1030 | Visa support fee |
| 1031 | Water park fee |
| 1032 | Club card fee |
| 1033 | Conservation fee |
| 1036 | City Tax |
| 1037 | Resort fee |
| 1038 | Tax |
| 1040 | Tourism fee |
| 1043 | Government tax |
| 1044 | Destination fee |
| 1045 | Internet |
| 1046 | Parking |
| 1047 | Breakfast |
| 1048 | Lunch |
| 1049 | Dinner |
| 2000 | Charge service |
On this page, we will show you the different services.
| id | Name |
|---|---|
| 3 | Airport |
| 4 | Minibar |
| 6 | Family Friendly |
| 7 | Balcony |
| 8 | Waiter |
| 9 | Bar |
| 11 | Fireplace |
| 12 | Beach |
| 19 | Car rental |
| 22 | Safe-Deposit Box |
| 24 | Cycle path |
| 25 | Wheelchair access |
| 26 | Adapted Bathroom |
| 27 | No dogs allowed |
| 28 | Dogs welcome |
| 29 | DVD |
| 30 | Elevator |
| 32 | 24hr srevice |
| 37 | Fine Restaurant |
| 38 | Golf |
| 40 | Gym |
| 41 | Hairdresser |
| 42 | Hairdryer |
| 45 | Hiking |
| 46 | Information |
| 48 | Beverages |
| 49 | Iron |
| 50 | Jacuzzi |
| 52 | No smoking |
| 54 | Parking |
| 55 | Pets welcome |
| 58 | Pool |
| 63 | Telephone |
| 70 | Smoking |
| 73 | Tennis courts |
| 74 | Television |
| 77 | Wifi |
| 81 | Microwave |
| 87 | Air Conditioning |
| 88 | Dishwasher |
| 89 | Free Cava |
| 101 | Metro |
| 102 | Oven |
| 103 | PLates & Cutlery |
| 104 | TV International |
| 105 | Washing machine |
| 114 | Barbecue |
| 117 | Piano |
| 118 | Expresso Machine |
| 119 | Toaster |
| 120 | Mixer |
| 121 | Dryer |
| 122 | Kettle |
| 123 | Shower |
| 124 | Bathtub |
| 125 | Sofa bed |
| 126 | Ceramic hob |
| 127 | Terrace |
| 128 | Sheets |
| 129 | High Chair |
| 130 | Towels |
| 131 | Fridge |
| 132 | Heating |
| 135 | Induction |
| 136 | Iphone |
| 137 | Laundry Service |
| 138 | Kitchen |
| 139 | Essentials |
| 140 | Hangers |
| 141 | Hot water |
| 143 | Private entrance |
| 144 | Private living room |
| 145 | Lock on bedroom door |
| 146 | Shampoo |
| 147 | Bed linens |
| 148 | Extra pillows and blankets |
| 150 | Ethernet connection |
| 151 | Pocket wifi |
| 152 | Laptop friendly |
| 153 | Microwave |
| 154 | Cooking basics |
| 155 | Stove |
| 156 | Street parking |
| 157 | Paid parking |
| 158 | Paid parking on premises |
| 159 | Ev charger |
| 160 | Single level home |
| 161 | garden or backyard |
| 162 | Breakfast |
| 163 | Beach essentials |
| 164 | Luggage dropoff allowed |
| 165 | Long term stays allowed |
| 166 | Cleaning before checkout |
| 167 | Fire extinguisher |
| 168 | Carbon monoxide detector |
| 169 | Smoke detector |
| 170 | First aid kit |
| 171 | Lake access |
| 172 | Ski in/ski out |
| 173 | Waterfront |
| 174 | Baby bath |
| 175 | Baby monitor |
| 176 | Babysitter recommendations |
| 177 | Changing table |
| 178 | Childrens books and toys |
| 179 | Childrens dinnerware |
| 180 | Crib |
| 181 | Fireplace guards |
| 182 | Game console |
| 183 | Outlet covers |
| 184 | Pack n play travel crib |
| 185 | Room darkening shades |
| 186 | Stair gates |
| 187 | Table corner guards |
| 188 | Window guards |
| 189 | Wide hallway clearance |
| 190 | Home step free access |
| 191 | |
| 192 | Path to entrance lit a night |
| 193 | Home wide doorway |
| 194 | Flat smooth pathway to front door |
| 195 | Disabled parking spot |
| 196 | Bedroom step free access |
| 197 | Wide clearance to bed |
| 198 | Bedroom wide doorway |
| 199 | Accessible height bed |
| 200 | Electric profiling bed |
| 201 | Bathroom step free access |
| 202 | Grab rails in shower |
| 203 | Grab rails in toilet |
| 204 | Accesible height toilet |
| 205 | Rollin shower |
| 206 | Shower chair |
| 207 | Bathroom wide doorway |
| 208 | Tub with shower bench |
| 209 | Wide clearance to shower and toilet |
| 210 | Handheld shower head |
| 211 | Common space step free access |
| 212 | Common space wide doorway |
| 213 | Mobile hoist |
| 214 | Pool hoist |
| 215 | Ceiling hoist |
| 216 | Double bed |
| 217 | Cleaning kit |
| 218 | Teapot |
| 231 | Radiator |
| 232 | Heat Pump |
| 233 | Living room air conditioning |
| 234 | Air-conditioned room |
| 235 | Communal swimming pool |
| 236 | Covered parking |
| 237 | Garage |
| 1000 | Alarm clock |
| 1001 | Radio |
| 1002 | Bathtub with jets |
| 1003 | Bathrobe |
| 1004 | Bathroom articles |
| 1005 | Bathtub only |
| 1006 | Bath or shower |
| 1007 | Bidet |
| 1008 | Cable television |
| 1009 | Coffee/tea maker |
| 1010 | Colour television |
| 1012 | Connected rooms |
| 1013 | Cordless phone |
| 1014 | Desk |
| 1015 | Desk with lamp |
| 1016 | Fax machine |
| 1017 | Free movies / video |
| 1018 | Equipped kitchen |
| 1019 | Greek bathtub |
| 1020 | Ironing board |
| 1021 | Whirpool |
| 1022 | Kitchen supplies |
| 1023 | Small kitchen |
| 1024 | Laptop computer |
| 1025 | Large desk |
| 1026 | Multi-line telephone |
| 1027 | Pay-per-view movies on TV |
| 1028 | Telephone in the bathroom |
| 1029 | Private bathroom |
| 1030 | Refrigerator with ice machine |
| 1031 | Insurance |
| 1032 | Separate cupboard |
| 1033 | Shower only |
| 1034 | Cutlery / utensils |
| 1035 | Living room |
| 1036 | Speaker phone |
| 1037 | Telephone for thehearing impaired |
| 1038 | Video films |
| 1039 | Video games |
| 1040 | Wake-up service |
| 1041 | Individually controlled air conditioning in the room |
| 1042 | Separate bath and whirlpool |
| 1043 | CD player |
| 1044 | Desk with power socket |
| 1045 | Marble bathroom |
| 1046 | List of avialable film channels |
| 1047 | Extra-large bathtub |
| 1048 | Soundproof room |
| 1049 | Tables and chairs |
| 1050 | Two-line telephone |
| 1051 | Separate bath and shower |
| 1052 | Ceiling fan |
| 1053 | CNN available |
| 1054 | Wardrobes in the room |
| 1055 | Mini fridge |
| 1056 | Shared bathroom |
| 1057 | TDD Phone / Textphone |
| 1058 | Satellite TV |
| 1059 | iPod docking station |
| 1060 | Satellite radio |
| 1061 | Video on demand |
| 1062 | View of the gulf |
| 1063 | View from the mountain |
| 1064 | Ocean view |
| 1065 | Trainers |
| 1066 | Chair with desk |
| 1067 | Type of luxury clothing |
| 1068 | Private swimming pool |
| 1069 | High-definition (HD) fast-screen TV: 32 inches or more |
| 1070 | Video game player |
| 1071 | Dining room seating |
| 1072 | Mobile phones |
| 1073 | Films |
| 1074 | Multiple cabinets |
| 1075 | Safe large enough to accommodate a laptop computer |
| 1076 | Blu-ray player |
| 1077 | Non-allergenic room |
| 1078 | Living area with sofa / chair |
| 1079 | Separate bathing area |
| 1080 | Flat screen |
| 1081 | Separate bathroom or shower |
| 1082 | 24-hour reception service |
| 1083 | On-site ATM |
| 1084 | Monitoring of children |
| 1085 | Barbecue / picnic area |
| 1086 | Library |
| 1087 | Casino |
| 1088 | Concierge service |
| 1089 | Foreign exchange |
| 1090 | Elevators |
| 1091 | Express check-in / check-out |
| 1092 | Airport transfer (free) |
| 1093 | Game room |
| 1094 | Souvenir / gift shop |
| 1096 | Cleaning - daily |
| 1097 | Indor parking |
| 1098 | Indoor swimming pool |
| 1099 | Evening entertainment |
| 1100 | Massage |
| 1101 | Discotheque / DJ |
| 1102 | Outdoor swimming pool |
| 1103 | Room service |
| 1104 | Sauna |
| 1105 | Bitumen |
| 1106 | Solarium |
| 1107 | Turkish / steam bath |
| 1108 | Tourist information desk |
| 1109 | Dry cleaning |
| 1110 | The gentleman who parks the cars |
| 1111 | Vending machine (snacks) |
| 1112 | Accessible parking |
| 1113 | Shops (on site) |
| 1114 | Grocery shopping service available |
| 1115 | On-street parking |
| 1116 | Playground |
| 1117 | Lockers |
| 1118 | Non-smoking rooms |
| 1119 | Bicycle rental |
| 1120 | Business centre |
| 1121 | Secure parking |
| 1122 | Water sports facilities (on site) |
| 1123 | Golf course (within 2 miles) |
| 1124 | Horse riding |
| 1125 | Beachfront |
| 1126 | Shared kiychen |
| 1127 | Meeting/banqueting facilities |
| 1128 | Skiing |
| 1129 | Airport shuttle service (for a fee) |
| 1130 | Luggage strage |
| 1131 | Newspaper |
| 1132 | Hypoallergenic room available |
| 1133 | All non-smoking rooms (public and private) |
| 1134 | Electric vehicle charging station |
| 1135 | Event ticket service |
| 1136 | Snack bar |
| 1137 | Breakfast in the room |
| 1138 | Public transport tickets |
| 1139 | Free bicycles |
| 1141 | Outdoor fireplace |
| 1142 | Garden |
| 1143 | Soundproof rooms |
| 1144 | Sun terrace |
| 1145 | Chapel |
| 1146 | Shared lounge |
| 1148 | Trouser press |
| 1149 | Smoking area |
| 1150 | Pet basket |
| 1151 | Pet bowls |
| 1153 | Bowling |
| 1154 | Darts |
| 1156 | Hiking |
| 1157 | Mini golf |
| 1158 | Diving |
| 1159 | Squash |
| 1160 | Windsurfing |
| 1161 | Billards |
| 1162 | Table tennis |
| 1163 | Canoeing |
| 1164 | Slope access |
| 1166 | Tennis equipment |
| 1167 | Badminton equipment |
| 1168 | Cycling |
| 1169 | Ski storage |
| 1170 | Ski school |
| 1171 | Ski equipment rental |
| 1172 | Ski pass vendor |
| 1173 | Private bench area |
| 1174 | Rooms / facilities for disabled guests |
| 1175 | Hair / beauty salon |
| 1176 | Family rooms |
| 1177 | VIP room facilities |
| 1178 | Bridal suite |
| 1179 | Spa and wellness centre |
| 1180 | Karaoke |
| 1181 | Packed launches |
| 1182 | Concierge service |
| 1183 | Entertainment staff |
| 1184 | Private check-in / check-out |
| 1185 | Special diet menus (on request) |
| 1186 | Vending machine (drinks) |
| 1187 | Hot spring bath |
| 1188 | Kids club |
| 1189 | Mini-market on site |
| 1190 | Water park |
| 1191 | Adults only |
| 1192 | Outdoor pool |
| 1193 | Public bath |
| 1194 | Water slide |
| 1197 | Indoor play area |
| 1198 | Outdoor play equipment for children |
| 1199 | Children's television networks |
| 1200 | Children's television networks |
| 1201 | Kid-friendly buffet |
| 1202 | Children's buffet |
| 1208 | Strollers |
| 1209 | On-site coffee house |
| 1210 | Sun loungers or beach chairs |
| 1211 | Umbrellas |
| 1212 | Picnic area |
| 1213 | Beauty services |
| 1214 | Spa facilities |
| 1215 | Steam room |
| 1216 | Spa lounge / relaxation area |
| 1217 | Foot bath |
| 1218 | Spa / wellness packages |
| 1219 | Massage chair |
| 1220 | Fitness |
| 1221 | Yoga classes |
| 1222 | Fitness classes |
| 1223 | Personal trainer |
| 1224 | Gym / spa locker rooms |
| 1225 | Children's pools |
| 1226 | Shuttle service |
| 1227 | Temporary art galleries |
| 1228 | Pub crawls |
| 1229 | Live comedy |
| 1230 | Movie nights |
| 1231 | Walking tours |
| 1232 | Bike tours |
| 1233 | Themed dinner nights |
| 1234 | Happy hour |
| 1235 | Local culture tour / class |
| 1236 | Cooking class |
| 1237 | Live music / performance |
| 1238 | Live sports events (broadcast) |
| 1239 | Archery |
| 1240 | Aerobics |
| 1241 | Bingo |
| 1242 | Ski shuttle |
| 1243 | Outdoor pool (year-round) |
| 1244 | Outdoor pool (seasonal) |
| 1245 | Indoor poll (year-round) |
| 1246 | Indoor pool (seasonal) |
| 1247 | Pool toys |
| 1253 | Pool bar |
| 1254 | Shallow pool |
| 1256 | Pool fence |
| 1257 | Airport shuttle (surcharge) |
| 1258 | Wheelchair accessible |
| 1260 | Upper toilets |
| 1261 | Lowered sink |
| 1263 | Braille |
| 1264 | Tactile signs |
| 1265 | Auditory guidance |
| 1266 | Back massage |
| 1267 | Neck massage |
| 1268 | Foot massage |
| 1269 | Couples massage |
| 1270 | Head massage |
| 1271 | Hand massage |
| 1272 | Full body massage |
| 1273 | Facial treatment |
| 1274 | Waxing services |
| 1275 | Makeup services |
| 1276 | Hair treatments |
| 1277 | Manicure |
| 1278 | Pedicure |
| 1279 | Haircut |
| 1280 | Hair coloring |
| 1282 | Body treatments |
| 1283 | Body scrub |
| 1284 | Body wrap |
| 1285 | Light therapy |
| 1286 | Free shuttle service |
| 1287 | Paid shuttle service |
| 1289 | Elimination of single-use plastics |
| 1290 | Sustainable toiletries |
| 1291 | Towels on demand |
| 1294 | Internet access |
| 1298 | Safe deposit box |
| 1299 | Pay-per-view channels |
| 1306 | Hot tub |
| 1310 | Trouser press |
| 1312 | Spa bath |
| 1317 | Ironing service |
| 1318 | Seating area |
| 1319 | Free toiletries |
| 1322 | Fan |
| 1323 | Bathroom |
| 1327 | Video |
| 1329 | Patio |
| 1331 | Extra-long beds |
| 1333 | Dressing room |
| 1334 | Guest bathroom |
| 1336 | Satellite channels |
| 1341 | Carpeted floor |
| 1342 | Home |
| 1343 | Additional bathroom |
| 1348 | Sofa |
| 1349 | Soundproofing |
| 1350 | Tile / Marble floor |
| 1351 | View |
| 1352 | Woodern / Parquet floor |
| 1355 | Dinning area |
| 1356 | Electric kettle |
| 1357 | Access to executive lounge |
| 1359 | Cookware set |
| 1360 | Mosquito net |
| 1361 | Towels / linens at surcharge |
| 1365 | Wardrobe / closet |
| 1369 | Barbecue grill |
| 1371 | Computer |
| 1372 | iPad |
| 1374 | Gaming console - Xbox 360 |
| 1375 | Gaming console - PS2 |
| 1376 | Gaming console - PS3 |
| 1377 | Gaming console - Nintendo Wii |
| 1379 | Lake view |
| 1380 | Garden view |
| 1381 | Pool view |
| 1383 | Landmark view |
| 1385 | Allergy-free |
| 1386 | Cleaning products |
| 1387 | Electric blankets |
| 1388 | Extra bathroom |
| 1390 | Coffee machine |
| 1391 | City view |
| 1392 | River view |
| 1394 | Linen |
| 1396 | Children's high chair |
| 1397 | Outdoor furniture |
| 1398 | Outdoor dining |
| 1399 | Entire property on ground floor |
| 1400 | Upper floorsaccesible by elevator |
| 1401 | Upper floors accesible only by stairs |
| 1402 | Entire unit wheelchair accesible |
| 1403 | Separate |
| 1404 | Semi-detached |
| 1405 | Private apartent in building |
| 1406 | Clothes dryer |
| 1407 | Fold-out bed |
| 1409 | Toilet paper |
| 1410 | Child safety locks |
| 1411 | Board games / Puzzles |
| 1412 | Library of books / DVDs / music for children |
| 1413 | Baby safety gates |
| 1415 | Toilet with handrails |
| 1417 | Shower roll holded |
| 1418 | Floor-level shower |
| 1419 | Confort heigh toilet |
| 1420 | Low sink |
| 1421 | Bathroom emergency pull cord |
| 1423 | Roof-top pool |
| 1424 | Infinity pool |
| 1425 | Pool with a view |
| 1426 | Heated pool |
| 1427 | Saltwater pool |
| 1428 | Plunge pool |
| 1429 | Pool towels |
| 1430 | Shallow end pool |
| 1431 | Pool cover |
| 1432 | Wine / champagne |
| 1433 | Water bottle |
| 1434 | Fruits |
| 1435 | Chocolate cookies |
| 1436 | Trash cans |
| 1437 | Wine glasses |
| 1438 | Gaming console - Xbox One |
| 1439 | Gaming console - Wii U |
| 1440 | Gaming conole - PS4 |
| 1441 | Kids crib / cot |
| 1442 | Toothbrush |
| 1444 | Conditioner |
| 1445 | Body soap |
| 1446 | Shower cap |
| 1447 | Pijamas |
| 1448 | Yukata |
| 1449 | Bedside socket |
| 1450 | Adapter |
| 1451 | Heather pillow |
| 1452 | Non-feather pillow |
| 1453 | Hypoallergenic pillow |
| 1454 | Accesible by elevator |
| 1455 | Interior courtyard view |
| 1456 | Quiet street view |
| 1458 | Smartphone |
| 1459 | Netflix |
| 1461 | Fire alarms or smoke detectors |
| 1462 | Fire extinguishers |
| 1463 | Metal key access |
| 1464 | Elecrtonic key card access |
| 1465 | Reading light |
| 1466 | Earplugs |
| 1467 | Private curtain |
| 1468 | Common kitchen |
| 9998 | Single-room air conditioning for guest accommodation |
| 9999 | Hand sanitiser |
On this page, we will show you the different types of customers.
| id | Name |
|---|---|
| 1 | Potential |
| 2 | VIP |
| 3 | Slow Payers |
| 4 | Lost |
| 5 | Recurrent |
On this page, we will show you the different types of documents.
| id | Name |
|---|---|
| 1 | Passport (Spanish only) |
| 2 | Identity Document (Spanish only) |
| 3 | Driving license |
| 4 | Residence permit |
| 5 | Passport |
| 6 | Identity Document |
| 7 | Foreign residence permit |
This endpoint returns all languages from platform.
On this page, we will show you the different languages from platform.
| id | code | Name |
|---|---|---|
| 1 | es | Spanish |
| 2 | en | English |
| 3 | fr | Français |
| 4 | it | Italian |
| 5 | pt | Português |
| 6 | ru | Pусский |
| 7 | de | Deutsch |
| 8 | sv | Svenska |
| 9 | ca | Català |
curl --location 'https://test.bedloop.com/api/v1/customersTypes' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
{
}
On this page, you have the complete list of states with their region_id code, the state name, and the ID that should be sent in some of the API endpoints.
| id | region id | States Name |
|---|---|---|
| 1 | 12 | A_Coruña |
| 3 | 8 | Albacete |
| 4 | 10 | Alicante |
| 5 | 1 | Almería |
| 6 | 3 | Asturias |
| 8 | 11 | Badajoz |
| 26 | 4 | Baleares |
| 9 | 9 | Barcelona |
| 10 | 16 | Bizkaia |
| 11 | 7 | Burgos |
| 14 | 6 | Cantabria |
| 15 | 10 | Castellón |
| 16 | 18 | Ceuta |
| 17 | 8 | Ciudad Real |
| 19 | 8 | Cuenca |
| 12 | 11 | Cáceres |
| 13 | 1 | Cádiz |
| 18 | 1 | Córdoba |
| 23 | 16 | Gipuzkoa |
| 20 | 9 | Girona |
| 21 | 1 | Granada |
| 22 | 8 | Guadalajara |
| 24 | 1 | Huelva |
| 25 | 2 | Huesca |
| 27 | 1 | Jaén |
| 40 | 17 | La_Rioja |
| 28 | 5 | Las_Palmas |
| 29 | 7 | León |
| 30 | 9 | Lleida |
| 31 | 12 | Lugo |
| 32 | 13 | Madrid |
| 34 | 19 | Melilla |
| 35 | 14 | Murcia |
| 33 | 1 | Málaga |
| 36 | 15 | Navarra |
| 37 | 12 | Ourense |
| 38 | 7 | Palencia |
| 39 | 12 | Pontevedra |
| 41 | 7 | Salamanca |
| 42 | 5 | Santa_Cruz_de_Tenerife |
| 43 | 7 | Segovia |
| 44 | 1 | Sevilla |
| 45 | 7 | Soria |
| 46 | 9 | Tarragona |
| 47 | 2 | Teruel |
| 48 | 8 | Toledo |
| 49 | 10 | Valencia |
| 50 | 7 | Valladolid |
| 51 | 7 | Zamora |
| 52 | 2 | Zaragoza |
| 2 | 16 | Álava |
| 7 | 7 | Ávila |
On this page, you have the complete list of regions with their id code, the region name, and the ID that should be sent in some of the API endpoints.
| id | country_id | Region Name |
|---|---|---|
| 1 | 73 | Andalucía |
| 2 | 73 | Aragón |
| 3 | 73 | Principado de Asturias |
| 4 | 73 | Illes Balears |
| 5 | 73 | Canarias |
| 6 | 73 | Cantabria |
| 7 | 73 | Castilla y León |
| 8 | 73 | Castilla-La Mancha |
| 9 | 73 | Cataluña |
| 10 | 73 | Comunitat Valenciana |
| 11 | 73 | Extremadura |
| 12 | 73 | Galicia |
| 13 | 73 | Comunidad de Madrid |
| 14 | 73 | Región de Murcia |
| 15 | 73 | Comunidad Foral de Navarra |
| 16 | 73 | País Vasco |
| 17 | 73 | La Rioja |
| 18 | 73 | Ciudad Autónoma de Ceuta |
| 19 | 73 | Ciudad Autónoma de Melilla |