> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.etera.dev/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.etera.dev/_mcp/server.

# Get Restaurant Configuration

GET https://api.etera.dev/restaurant/booking/management/{restaurantId}/config


        Retrieve current restaurant booking configuration and operating parameters.
        
        **Configuration Includes:**
        - ⚙️ **Booking Settings** - Party size limits, advance booking rules
        - 🕒 **Operating Hours** - Daily schedules and availability
        - 📅 **Special Dates** - Holidays, events, modified hours
        - 🔧 **Provider Settings** - Integration configurations
        
        **Use Cases:**
        - System configuration review
        - Troubleshooting booking issues
        - Compliance verification
        - Integration setup validation
      

Reference: https://docs.etera.dev/restaurant/booking/restaurant-booking-api/management/get-management-by-restaurant-id-config

## Servers

- `https://api.etera.dev/restaurant/booking` (Production, default)
- `https://api-stage.etera.dev/restaurant/booking` (Staging)
- `https://api-dev.etera.dev/restaurant/booking` (Development)

## Request

### Path parameters

- `restaurantId` (string, required) — Unique identifier for the restaurant

## Response

### 200

Configuration retrieved successfully

- `success` (boolean, optional)
- `restaurantId` (string, optional)
- `config` (ManagementRestaurantIdConfigGetResponsesContentApplicationJsonSchemaConfig, optional)

## Types

### ManagementRestaurantIdConfigGetResponsesContentApplicationJsonSchemaConfig

- `bookingSettings` (ManagementRestaurantIdConfigGetResponsesContentApplicationJsonSchemaConfigBookingSettings, optional)
- `operatingHours` (map from string to ManagementRestaurantIdConfigGetResponsesContentApplicationJsonSchemaConfigOperatingHours, optional)
- `specialDates` (list of ManagementRestaurantIdConfigGetResponsesContentApplicationJsonSchemaConfigSpecialDatesItems, optional)

### ManagementRestaurantIdConfigGetResponsesContentApplicationJsonSchemaConfigBookingSettings

- `maxPartySize` (double, optional)
- `minAdvanceBooking` (double, optional)
- `maxAdvanceBooking` (double, optional)
- `allowSameDayBooking` (boolean, optional)
- `requireConfirmation` (boolean, optional)
- `autoConfirmTimeout` (double, optional)

### ManagementRestaurantIdConfigGetResponsesContentApplicationJsonSchemaConfigOperatingHours

- `open` (string, optional)
- `close` (string, optional)
- `closed` (boolean, optional)

### ManagementRestaurantIdConfigGetResponsesContentApplicationJsonSchemaConfigSpecialDatesItems

- `date` (string, optional)
- `status` (enum, optional)
  - Allowed values: `closed`, `modified`
- `reason` (string, optional)
- `hours` (ManagementRestaurantIdConfigGetResponsesContentApplicationJsonSchemaConfigSpecialDatesItemsHours, optional)

### ManagementRestaurantIdConfigGetResponsesContentApplicationJsonSchemaConfigSpecialDatesItemsHours

- `open` (string, optional)
- `close` (string, optional)

## Examples

**Response**

```json
{
  "success": true,
  "restaurantId": "rest_abc123",
  "config": {
    "bookingSettings": {
      "maxPartySize": 20,
      "minAdvanceBooking": 30,
      "maxAdvanceBooking": 90,
      "allowSameDayBooking": true,
      "requireConfirmation": false,
      "autoConfirmTimeout": 300
    },
    "operatingHours": {},
    "specialDates": [
      {
        "date": "2024-12-25",
        "status": "closed",
        "reason": "Christmas Day",
        "hours": {
          "open": "string",
          "close": "string"
        }
      }
    ]
  }
}
```

**SDK Code**

```python
import requests

url = "https://api.etera.dev/restaurant/booking/management/rest_abc123/config"

response = requests.get(url)

print(response.json())
```

```javascript
const url = 'https://api.etera.dev/restaurant/booking/management/rest_abc123/config';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.etera.dev/restaurant/booking/management/rest_abc123/config"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.etera.dev/restaurant/booking/management/rest_abc123/config")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.etera.dev/restaurant/booking/management/rest_abc123/config")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.etera.dev/restaurant/booking/management/rest_abc123/config');

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.etera.dev/restaurant/booking/management/rest_abc123/config");
var request = new RestRequest(Method.GET);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "https://api.etera.dev/restaurant/booking/management/rest_abc123/config")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```