API Keys
API keys authorize trusted services to submit usage and call Meterry APIs.
Create a key
Section titled “Create a key”Open API keys in the project sidebar.
- Select Create key.
- Enter a clear name such as
Production gateway,Staging, orCustomer proxy. - Choose scopes. Use the least privilege needed by the integration.
- Create the key.
- Copy the generated secret and store it in your backend environment.
Secrets are shown once. Existing keys are listed by name and key ID, but the secret is never shown after creation.
Use the key
Section titled “Use the key”Send it as a bearer token from a trusted backend or gateway:
Authorization: Bearer <secret>Content-Type: application/jsonDo not expose project API keys in browser code or mobile client code.
Rotate a key
Section titled “Rotate a key”- Create a replacement key.
- Deploy the new secret to the service.
- Confirm ingestion is working.
- Delete the old key from the Portal.
Deleting a key revokes access for services that still use it.