# API-referentie

> Integreer met TBit via onze REST API

- Pagina: https://tbit.app/nl/docs/api
- Basis-URL: `https://rest-api.tbit.app/v1`
- Authenticatie: header `X-API-Key` met je sleutel bij elk verzoek (de voorbeelden lezen hem uit de omgevingsvariabele `TBIT_API_KEY`)

> **Basis-URL**
>
> `https://rest-api.tbit.app/v1`

> **Rate limits**
>
> 100 verzoeken per minuut per API-sleutel

### Snel aan de slag

Doe je eerste API-call in een paar seconden:

> **Open-source voorbeeld**
>
> [Volledig voorbeeld van een webshop gebouwd op deze API →](https://github.com/tbit-io/tbit-storefront-example)

- [Authenticatie](https://tbit.app/nl/docs/api/authentication): Leer hoe je je API-verzoeken authenticeert
- [Activiteiten](https://tbit.app/nl/docs/api/activities): Beheer gesprekken en contacten
- [Labels](https://tbit.app/nl/docs/api/tags): Maak en beheer labels voor je contacten
- [Contacten](https://tbit.app/nl/docs/api/contacts): Lees en werk contactgegevens bij
- [Templates](https://tbit.app/nl/docs/api/templates): Bekijk en verstuur WhatsApp-templates
- [Producten](https://tbit.app/nl/docs/api/products): Lees je productcatalogus en zoek semantisch
- [Categorieën](https://tbit.app/nl/docs/api/categories): Bekijk de categorieën van je catalogus
- [Winkelwagens](https://tbit.app/nl/docs/api/carts): Deelbare winkelwagens die op WhatsApp worden afgerond
- [Formulieren doorsturen](https://tbit.app/nl/docs/api/forms-webhook): Ontvang elk ingevuld formulier in je API (webhook)
- [Aangepaste tools](https://tbit.app/nl/docs/api/custom-tools): Laat de AI je API aanroepen tijdens het gesprek
- [Fouten](https://tbit.app/nl/docs/api/errors): Foutcodes en hoe je ermee omgaat

`GET /v1/activities`

```bash
curl "https://rest-api.tbit.app/v1/activities" \
  -H "X-API-Key: $TBIT_API_KEY"
```
