Skip to main content
truemetrics issues API keys per customer. A key identifies your account: you only see your own devices and your own data. Each key is enabled for specific services, and one key can be enabled for several. Request keys, or another service on an existing key, at info@truemetrics.io. A 403 from any endpoint means the key is missing, wrong, or not enabled for that endpoint.

Keeping keys safe

  • Keep keys in your build configuration or secrets store (a Gradle property, local.properties, CI secrets), never in source control.
  • A key in an app can be read from the installed app. That is expected for the SDK key, which only uploads data to your account. Keys that read data, such as the last meter key, belong in the apps and backends that need them, not in public samples.
  • If a key leaked, ask us for a new one; the old one is then switched off.