Skip to main content

Authorization

Follow this guide to create a new Whoop credential that will allow Nexla to authenticate to and exchange data with your Whoop account.
whoop_api_auth.png

Whoop

Prerequisites

Before creating a Whoop credential, you need to obtain your Client ID and Client Secret from your Whoop Developer account. Whoop uses Client ID/Secret Key authentication for all API requests, with the Client ID and Client Secret sent in request headers.

To obtain your Whoop credentials, follow these steps:

  1. Sign in to your Whoop account using your administrator credentials.

  2. Navigate to the Whoop Developer Portal or visit developer.whoop.com to access your developer account.

  3. If you don't have a developer account yet, click Sign up or Register and complete the registration process. You may need to provide information about your intended use of the Whoop API.

  4. Once you have access to the Whoop Developer Portal, navigate to API Keys, Applications, or Credentials to access your application management.

  5. Create a new application or select an existing application from your dashboard. Click on the application name to open its settings.

  6. In the application settings, navigate to the Credentials tab or API Keys section.

  7. Under Client Credentials, you will find your Client ID and Client Secret. If these are not visible, click Generate or Create to generate new client credentials.

  8. Copy both the Client ID and Client Secret immediately, as the Client Secret may not be accessible again after you navigate away from the page.

  9. Store both credentials securely, as you will need them to configure your Nexla credential. The Client Secret is sensitive information and should be kept confidential.

The Client ID and Client Secret are sent in request headers (CLIENT-ID and CLIENT-SECRET) for all API requests to the Whoop API. These credentials authenticate your requests and grant access to Whoop resources based on your account permissions. If your credentials are compromised, you should immediately revoke them in your Whoop Developer Portal and generate new ones. For detailed information about obtaining client credentials, API authentication, and available endpoints, refer to the Whoop API documentation.

Create a Whoop Credential

  • To create a new Whoop credential, after selecting the data source/destination type, click the Add Credential tile to open the Add New Credential overlay.

New Credential Overlay – Whoop

WhoopCred.png

Credential Name & Description

  1. Enter a name for the credential in the Credential Name field and a short, meaningful description in the Credential Description field.

    Resource descriptions are recommended but are not required. They should be used provide information about the resource purpose, data freshness, etc. that can help the owner and other users efficiently understand and utilize the resource.

Client ID/Secret Key Authentication

Whoop uses Client ID/Secret Key authentication for all API requests. The Client ID and Client Secret are sent in request headers for authentication.

  1. Enter your API Server URL in the API Server URL field. This should be the URL for the API Server you wish to connect to. The default value is https://api.prod.whoop.com. The API Server URL determines which Whoop API environment will be used for requests.

  2. Enter your Client ID in the Client ID field. This is your Whoop API Client ID. This will be used as a value for the request header as CLIENT-ID. The Client ID is used to identify your application when making API requests.

  3. Enter your Client Secret in the Client Secret field. This is your Whoop API Client Secret. This will be used as a value for the request header as CLIENT-SECRET. The Client Secret is sensitive information and must be kept confidential.

    Your Whoop credentials (Client ID, Client Secret) can be found in the Whoop Developer Portal under API Keys or Applications. The Client ID and Client Secret are sent in request headers (CLIENT-ID and CLIENT-SECRET) for all API requests to the Whoop API.

    If your credentials are compromised, you should immediately revoke them in your Whoop Developer Portal and generate new ones. The credentials provide access to your Whoop account data and should be treated as sensitive information. Keep your credentials secure and do not share them publicly.

    For detailed information about obtaining client credentials, API authentication, and available endpoints, see the Whoop API documentation.

Save the Credential

  1. Once all of the relevant steps in the above sections have been completed, click the Save button at the bottom of the overlay to save the configured credential.

  2. The newly added credential will now appear in a tile on the Authenticate screen during data source/destination creation and can be selected for use with a new data source or destination.