# Version

Vendor API v0.6.7 · 1 operation
Source: https://plasapi.com/vendor/v0.6.7/version/

The version of the PLAS Vendor API that this vendor implements. The provider reads it before sending anything, so it knows which callback and event shapes this vendor expects and can match them.

## Get version

`GET` `/version` · `GetVersion`

### Example request

**cURL**

```bash
curl -X GET "$PLAS_BASE_URL/version" \
  -H 'Accept: application/json'
```

**JavaScript**

```javascript
const response = await fetch(`${process.env.PLAS_BASE_URL}/version`, {
  method: "GET",
  headers: {
    "Accept": "application/json",
  },
});
const data = await response.json();
```

**Python**

```python
import os
import requests

response = requests.get(
    f"{os.environ['PLAS_BASE_URL']}/version",
    headers={
        "Accept": "application/json",
    },
)
data = response.json()
```

The host and token are environment variables: `PLAS_BASE_URL` the provider’s base URL.

### Responses

#### `200` Success

`GetVersionResponseBody`

Example (Generated from the schema):

```json
{
  "version": "0.6.7"
}
```
