> For the complete documentation index, see [llms.txt](https://help.tacinsight.com/fast-weigh-knowledge-base/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.tacinsight.com/fast-weigh-knowledge-base/references/api-documentation/rest-api-deprecated.md).

# REST API - Deprecated

{% hint style="danger" %}
The REST API is deprecated! Use the new [GraphQL V2 API](/fast-weigh-knowledge-base/references/api-documentation/graphql-v2-api.md)
{% endhint %}

The REST API generally handles CREATE and UPDATE calls.

The OpenAPI/Swagger docs can be found here: <https://api.fast-weigh.com/swagger>

## Create an API key and get an Endpoint <a href="#create_an_api_key_and_get_endpoint" id="create_an_api_key_and_get_endpoint"></a>

On the Fast-Weigh Web Portal, go to the [API Info](https://portal.fast-weigh.com/APIInfo) page under the settings gear.

<figure><img src="/files/FXB5OMzzhW5Snk7Hh9eO" alt=""><figcaption></figcaption></figure>

You should see the REST API Base Endpoint listed here as well as any available keys.

To create a new key click the "+ New Key" button on the grid and fill in the info required.

**Don't see API Info on your web portal?**

1. You may not be an admin of your Fast-Weigh account. Check with a known admin to see if they can set up this key.
2. Your company's account may not have this enabled. If this is the case you will need to contact your sales or onboarding rep to get it enabled.

## Making requests <a href="#making_requests" id="making_requests"></a>

When making requests to the REST APIs include the following header:

```
x-api-key: your-key-goes-here
```
