> For the complete documentation index, see [llms.txt](https://docs.tryterra.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tryterra.co/unified-api/whoop.md).

# WHOOP

WHOOP requires every company to connect users through its own app on the [WHOOP developer portal](https://external-developer-portal.whoop.com/), with its redirect and webhook URLs on a domain that belongs to you. Your Terra dashboard sets up that domain and shows the exact URLs to use.

## Create the app

1. Create a WHOOP account with the WHOOP mobile app, then log in to the [WHOOP developer portal](https://external-developer-portal.whoop.com/).
2. Create a team with your company details.
3. Create an app. Leave the redirect and webhook URL fields until the dashboard gives you the values in the next section.

## Set it up in the dashboard

In your Terra dashboard, open **Connections**, choose **WHOOP** and follow the setup. It walks you through your custom domain and then shows the Redirect URL and Webhook URL to paste into your app.

In the WHOOP developer portal:

* Set the webhook model to **v2**.
* Tick every scope:

<figure><img src="https://464213908-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVGMJVuZnZyOtvV4b53cY%2Fuploads%2FSGZHhvNaUamUDwEMKMj1%2Fimage.png?alt=media&amp;token=a00c52ff-ab96-4a43-9c94-49b66717a87d" alt="WHOOP app settings with every scope ticked"><figcaption></figcaption></figure>

* Apply for production access. If WHOOP contacts you for more information during the review, let us know and we can help.

Then enter the app's client ID and client secret in the dashboard and save.
