This documentation has been written in 2023 and it is in beta phase. Interested users should contact the 365Villas team before using this.


API Reference

This page refers to 365 api which is used for accessing data inside 365 Villas application.


Basic Auth

The authorization header will be added generated when you send the request. (Required)

  "Username": "guest",
  "Password": "secret"


The Authorization request header can be used to provide credentials that authenticate a user agent with a server when you send the request. (Required)

  "365villaskey": "NTZjMjI4OWM4NzkyYTJkZDM5ZTFlNjNkMzQxZmZmMzRhZjM5YTEzMQ==",
  "365villaspass": "YmMzZjVkMmUyZTVmYWFlZWYxZjkwNzZmZjcyODhkYmU3ZjY3MmZmYg=="


Accessing the API

The 365 Villas API can be accessed over HTTPS at /api/{action}.



All data is sent as array and received as JSON

Example POST request array data as following format:

  "action": "create",
  "property": {
    "internal_code": "1",
    "name": "Villas beach on island",
    "type": "Villa",
    "brief": "Luxurious area with famous Saatchi Gallery, Theater Royal, designer shops and fine dining venues.",
    "maxguest": 4,
    "bedrooms": 2,
    "bathrooms": 3,
    "kitchens": 1,
    "floor": "3",
    "space": {
      "value": 100,
      "unit": "meters"
    "phone": "1832472313",
    "address": "31 Draycott Ave",
    "city": "London",
    "state": "London",
    "postcode": "HA3 0BL",
    "country": "UK",
    "latitude": 51.492,
    "longitude": -0.164,
    "allowchildren": false,
    "allowpet": true,
    "allowsmoking": false

Key and pass can be obtained inside 365 panel. Each account will have different key and pass, this information is very important because it can be used for updating your booking data inside 365 application.

Example response is as the following format:

  "code": 200,
  "data": {
    "property_id": "1"
  "code": 400,
  "error_type": "TYPE_ERROR",
  "error_message": "ERROR MESSAGE"



  • The data will be updated as soon as the API is used.