Skip to main content
All CollectionsIntegrationsPushing Data to VitallyAnalytics API
Vitally's HTTPS Analytics API Authentication
Vitally's HTTPS Analytics API Authentication

Learn how to authenticate with the Vitally Analytics API

Ray avatar
Written by Ray
Updated over a week ago

Vitally's Analytics API is an HTTPS API that uses an Authorization header to provide authentication. The API requires you to send an Authorization header containing your API token with every request:

Authorization: Basic [Your token]

To get started, first get the API token for your account by going to the the navigate to your Settings (βš™οΈ) by selecting your Account Logo on the top left and under Operations select Integrations. Then select Vitally Analytics API (or via Quick Jump Mac: ⌘ + j Windows: Alt + j) . Toggle the switch on the top right to enable the integration.

NOTE: The Analytics API has no rate limit.

An example curl request using this header would look like:

curl -X POST https://api.vitally.io/analytics/v1/batch \
-H "Authorization: Basic [your token]" \
-H "Content-Type: application/json" \
-d '[ ...your data... ]'
Did this answer your question?