Creating API keys
Generate, store, and use API keys from the dashboard developer page.
Generate key
- Open dashboard
/developer. - Click Create API Secret.
- Copy the key immediately and store it in your secret manager.
Use key in requests
curl -sS "$PORTCALL_API_BASE/v1/plans" \
-H "x-api-key: $PORTCALL_API_KEY"Recommended practices
- Never expose secret keys in frontend code.
- Keep separate keys per environment.
- Rotate keys regularly from the developer page.