🔑 API Keys

Pingram authenticates backend requests with secret API keys (pingram_sk_...). Manage them from the API Keys page in the dashboard.

Your production key

When you sign up, Pingram creates a production environment with a secret API key. Copy it from API Keys and use it in your live application.

Creating a testing environment

Keep test traffic separate from production by adding a testing environment:

  1. Open API Keys in the dashboard
  2. Click Add Testing Environment
  3. Copy the new testing API key for local development, CI, or staging

Each testing environment has its own API keys and logs, so test sends stay isolated from production.

Pingram dashboard API Keys page showing Add Testing Environment

Which key should I use?

Environment Use for
Production Live apps and real users
Testing Local development, staging, and automated tests
TIP

Pass the key to the SDK as apiKey (Node) or api_key (Python). Never commit secret keys to source control—use environment variables instead.