# Important Information

## API Endpoint

```
https://ws-api.onehub.com
```

## Example URL

```
https://ws-api.onehub.com/[resource]/[id]
```

## Default Format

{% hint style="info" %}
The default format returned from the Onehub API is [JSON](http://www.json.org/).
{% endhint %}

JSON will be returned in all responses from the API, including [errors](https://developer.onehub.com/api/errors). If you are unable to set an `Accept: application/json` header in your request, you may apply a suffix of `.json` to ensure JSON is returned.

```
https://ws-api.onehub.com/workspaces.json
```
