Analytics API Authentication

Learn how to authenticate with the Vitally Analytics API

Vitally's Analytics API is an HTTPS API that uses the Authorization header to provide authentication. The API requires you 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 Integrations -> Vitally API section of your Account Settings (get there via Quick Jump).

An example curl request using this header would look like:

curl -X POST \
  -H "Authorization: Basic [your token]" \
  -H "Content-Type: application/json" \
  -d '[ ...your data... ]'

Last updated