Most providers (e.g., Garmin, Fitbit) require the user to grant consent before Spike API can access their data. Redirect the user to the provider’s consent page using a URL obtained via the API. Other providers rely on SDK functionality for integration and data extraction. Refer to SDK Documentation for Apple Health, Health Connect & Samsung Health Data integrations.Documentation Index
Fetch the complete documentation index at: https://docs.spikeapi.com/llms.txt
Use this file to discover all available pages before exploring further.
Step 1: Configure Redirect URL in Admin Console
To configure the redirect URL in the admin console, navigate to the “Applications” section and locate the “Redirect URLs” option within your application. Here, you can either specify a default redirect URL or add multiple domains to the whitelist which would allow you to define your own redirect URL during the integration process.
Step 2: Obtain Redirect URL
When you want to initiate the integration process for an end user, you can use the following endpoint to get a redirect URL for a specific provider.Query arguments
- (Optional) redirect_uri URI to redirect the end user after integration is complete, domain must be whitelisted in the admin console.
- (Optional) state an arbitrary string that would be returned to you after integration is complete.
- (Optional) provider_user_id an id of application users at a specific provider. For e.g., Ultrahuman requires to pass email.
