Skip to content
PramaanDPDP Live
APIs and Webhooks

API keys FAQ

How PRAMAAN API keys should be created, stored, rotated, and separated between sandbox and production.

Updated 3 min read

Overview

API keys are server-side credentials. They should never be embedded in mobile apps, browser JavaScript, public GitHub repos, screenshots, tickets, or chat messages.

What to do

Step 1: Use separate keys for sandbox and production.
Step 2: Store keys in your server secret manager, not in source code.
Step 3: Rotate keys when a teammate leaves, a vendor changes, or a secret may have leaked.

bash

Server-side key usage

curl https://api.pramaan.online/v1/health \
  -H "Authorization: Bearer $PRAMAAN_API_KEY"

Frequently asked questions

Next step

Move safely from answer to action.

Store the key server-side and verify it from a backend environment before connecting any user-facing workflow.

Was this helpful?