Terra Docs
Dashboard
  • Docs
  • API Reference
  • Changelog
  • Getting Started
    • What is Terra API?
    • Account setup and API keys
    • Core concepts
  • Health & Fitness API
    • Overview
    • Quickstart
    • Integration setup
      • Understanding sources and destinations
      • Setting up data sources
      • Setting up data destinations
        • Webhooks
        • SQL database (Postgres, MySQL)
        • Supabase
        • Cloud storage (S3, GCP)
        • Queuing services (SQS, Kafka)
      • Customising data types
      • Dedicated data source API keys
      • Understanding Terra environments
    • User authentication
      • Authentication flow
      • Implementation (Terra widget)
      • Implementation (Custom UI)
      • Handling authentication events
      • Customising authentication redirects
    • Managing user health data
      • Receiving health data updates (events)
      • Requesting historical health data (REST API requests)
      • Writing data
    • Mobile-only sources
      • iOS (Swift)
      • Android (Kotlin)
      • React Native
      • Flutter
    • Troubleshooting
    • Pricing
  • User Engagement
    • Health Scores
  • Streaming API
    • Overview
    • Wearable -> Your app
      • iOS (Swift)
      • Android
    • Your app -> Terra
      • iOS (Swift)
      • Android
    • Terra -> Your backend
  • Teams API
  • Biomarkers API - Upcoming
Powered by GitBook
On this page

Was this helpful?

  1. Health & Fitness API

WHOOP

Last updated 4 months ago

Was this helpful?

  1. Follow the following steps and save the values of the the “Host” or “Name” field that you use in step d for later use:

a) Access Your DNS Provider: Log in to the control panel of your domain's DNS provider. This is typically where you purchased your domain name (e.g., GoDaddy, Namecheap, Cloudflare, etc.).

b) Navigate to DNS Management: Look for a section called "DNS Management," "Name Server Management," "Advanced Settings," or something similar.

c) Locate the DNS Records Section: Within the DNS management area, find the section where you can view and edit your DNS records.

d) Add a New CNAME Record: i. Look for an option to "Add" or "Create" a new record. ii. Select "CNAME" as the type of record you want to create. iii. In the "Host" or "Name" field, enter the subdomain you want to use e.g “whoop.yourcompanyname.co” iv. In the "Value" or "Points to" field, enter the following value: FdJ930Xal-1994597418.eu-west-2.elb.amazonaws.com

  1. Save the Record: Save the new CNAME record. Look for a "Save," "Add Record," or "Update" button.

  2. Wait for Propagation: DNS changes can take some time to propagate across the internet. This can be anywhere from a few minutes to 48 hours, depending on the TTL and the specific DNS provider.

  3. Make a WHOOP account with an email and password of your choice on the WHOOP app, then log in to

  4. Make a team with your company details and name.

  5. Make an app with your details and in the URL fields (Webhook and Redirect URL) use the URL that you noted and in step 2 as such:

  6. Ensure that you have ticked the boxes for all the scopes presented to you in the app's settings:

  7. Raise a , letting us know the value of whoop.yourcompanyname.com so we can issue a certificate for the subdomain, and instruct you to add the appropriate CNAME records for validation

  8. When ready, feel free to apply for production! Let us know when WHOOP contacts you for help when providing them with the necessary info, for us to help speed up the process.

  9. Provide us with the Client ID and Client secret, as well as ""

https://external-developer-portal.whoop.com/
https://whoop.yourcompanyname.com/auth/whoop/oauth2
https://whoop.yourcompanyname.com/hooks/whoop/push
support ticket in your Terra dashboard
https://YOURURL.com/auth/whoop/oauth2