# St. Gallen API

## Get the availability of all venues

<mark style="color:blue;">`GET`</mark> `https://st-gallen.apis.venuzle.com/custom-endpoints/venue-availability`

API endpoint to check the availability of all venues at the moment of the call.

#### Query Parameters

| Name  | Type   | Description               |
| ----- | ------ | ------------------------- |
| token | string | The authentication token. |

{% tabs %}
{% tab title="200 The request was successfully performed." %}

```
[
    {
        venue_id: 1,
        available: true
    },
    {
        venue_id: 2,
        available: false    
    }
]
```

{% endtab %}

{% tab title="401 The provided token is not valid." %}

```
{}
```

{% endtab %}
{% endtabs %}
