API
The API lets you read your analytics and manage your websites, goals, annotations and domains from your own code.
Every endpoint, its parameters and a sample response are listed in the API documentation, which is generated from this installation and is therefore always current for it.
Authenticating
Requests carry your API key in an Authorization header, as a bearer token. Your key is on your Account API page, where you can also regenerate it.
Treat the key as a password: it can read everything in your account through the API. Regenerating it immediately stops the old one working, so anything still using it will need updating.
Send it like this:
curl --request GET \
--url https://dev.usermetric.io/api/websites \
--header 'Authorization: Bearer YOUR_API_KEY'
If you need more information or have any questions, please contact us.
Contact