# Smoobu

> Read reservations, properties, rates, guests and message threads in Smoobu.

App · 20 actions. Web page: https://docs.lodol.com/docs/integrations/smoobu

## Actions

### Get account

Get account.

**Inputs**: None.

**Outputs**

- `data` (object): The response from Smoobu.

**Example output**

```json
{
  "data": {}
}
```

### Get custom placeholder

Get custom placeholder.

**Inputs**

- Placeholder ID (`placeholder_id`, number, required): Placeholder id.

**Outputs**

- `data` (object): The response from Smoobu.

**Example output**

```json
{
  "data": {}
}
```

### Get guest

Get guest.

**Inputs**

- Guest ID (`guest_id`, number, required): Guest id.

**Outputs**

- `data` (object): The response from Smoobu.

**Example output**

```json
{
  "data": {}
}
```

### Get placeholder translation

Get placeholder translation.

**Inputs**

- Placeholder ID (`placeholder_id`, number, required): Placeholder id.
- Translation ID (`translation_id`, number, required): Translation id.

**Outputs**

- `data` (object): The response from Smoobu.

**Example output**

```json
{
  "data": {}
}
```

### Get price element

Get price element.

**Inputs**

- Reservation (`reservation_id`, number, required): Reservation id.
- Price element ID (`price_element_id`, number, required): Price element id.

**Outputs**

- `data` (object): The response from Smoobu.

**Example output**

```json
{
  "data": {}
}
```

### Get property

Get property.

**Inputs**

- Apartment (`apartment_id`, number, required): Apartment id.

**Outputs**

- `data` (object): The response from Smoobu.

**Example output**

```json
{
  "data": {}
}
```

### Get rates

Get rates.

**Inputs**

- Start date (`start_date`, date, required): Start date.
- End date (`end_date`, date, required): End date.
- Apartment IDs (`apartment_ids`, list, required): Apartment ids.

**Outputs**

- `data` (object): The response from Smoobu.

**Example output**

```json
{
  "data": {}
}
```

### Get reservation

Get reservation.

**Inputs**

- Reservation (`reservation_id`, number, required): Reservation id.

**Outputs**

- `data` (object): The response from Smoobu.

**Example output**

```json
{
  "data": {}
}
```

### Get reservation placeholders

Get reservation placeholders.

**Inputs**

- Reservation (`reservation_id`, number, required): Reservation id.

**Outputs**

- `data` (object): The response from Smoobu.

**Example output**

```json
{
  "data": {}
}
```

### List addons

List addons.

**Inputs**: None.

**Outputs**

- `data` (object): The response from Smoobu.

**Example output**

```json
{
  "data": {}
}
```

### List custom placeholders

List custom placeholders.

**Inputs**: None.

**Outputs**

- `data` (object): The response from Smoobu.

**Example output**

```json
{
  "data": {}
}
```

### List guests

List guests.

**Inputs**

- Page (`page`, number): Page.
- Page size (`page_size`, number): Page size.

**Outputs**

- `data` (object): The response from Smoobu.

**Example output**

```json
{
  "data": {}
}
```

### List placeholder translations

List placeholder translations.

**Inputs**

- Placeholder ID (`placeholder_id`, number, required): Placeholder id.

**Outputs**

- `data` (object): The response from Smoobu.

**Example output**

```json
{
  "data": {}
}
```

### List properties

List properties.

**Inputs**: None.

**Outputs**

- `data` (object): The response from Smoobu.

**Example output**

```json
{
  "data": {
    "apartments": [
      {
        "id": 1,
        "name": "example"
      }
    ]
  }
}
```

### List reservation messages

List reservation messages.

**Inputs**

- Reservation (`reservation_id`, number, required): Reservation id.

**Outputs**

- `data` (object): The response from Smoobu.

**Example output**

```json
{
  "data": {}
}
```

### List reservation price elements

List reservation price elements.

**Inputs**

- Reservation (`reservation_id`, number, required): Reservation id.

**Outputs**

- `data` (object): The response from Smoobu.

**Example output**

```json
{
  "data": {}
}
```

### List reservations

List reservations.

**Inputs**

- Start date (`start_date`, date): Start date.
- End date (`end_date`, date): End date.
- Modified from (`modified_from`, date): Modified from.
- Modified to (`modified_to`, date): Modified to.
- Apartment (`apartment_id`, number): Apartment id.
- Page (`page`, number): Page.
- Page size (`page_size`, number): Page size.
- Show cancellation (`show_cancellation`, true/false): Show cancellation.
- Created from (`created_from`, date): Only include reservations created on or after this date.

**Outputs**

- `data` (object): The response from Smoobu.

**Example output**

```json
{
  "data": {
    "bookings": [
      {
        "arrival": "example",
        "departure": "example",
        "id": 1,
        "modifiedAt": "example"
      }
    ],
    "page_count": 1,
    "page_size": 1,
    "total_items": 1
  }
}
```

### List threads

List threads.

**Inputs**

- Page (`page`, number): Page.
- Page size (`page_size`, number): Page size.

**Outputs**

- `data` (object): The response from Smoobu.

**Example output**

```json
{
  "data": {}
}
```

### List webhook urls

List webhook urls.

**Inputs**: None.

**Outputs**

- `data` (object): The response from Smoobu.

**Example output**

```json
{
  "data": {}
}
```

### Send guest message

Send a message to the guest on a reservation.

**Inputs**

- Reservation (`reservation_id`, number, required): Reservation id.
- Subject (`subject`, text): Subject.
- Body (`body`, text, required): Message to send to the guest as plain text or HTML.

**Outputs**

- `data` (object): The response from Smoobu.

**Example output**

```json
{
  "data": {
    "detail": "example",
    "status": 1,
    "title": "example"
  }
}
```
