Credential handling#
- Store API keys and account tokens server-side in an appropriate secret store.
- Never embed production keys in a public browser bundle or a documentation example.
- Keep secrets out of query strings, analytics, error screenshots and customer-facing logs.
- Use meaningful key names so a deployment can be identified during an incident.
Restrictions and network context#
Use the allowed-domain and caller-IP controls your integration requires. A caller's egress IP can change when you move deployments or network providers. Check the expected production context before tightening a list.
Domain rules describe Origin restrictions. They do not establish domain ownership or make a secret safe to publish.
Rotation and incident response#
- Identify the deployments using the affected key.
- Rotate or deactivate the key as appropriate.
- Update the server-side credential and verify an intended request.
- Inspect logs for failures and unexpected charges after the change.
- Remove exposed copies and review how the exposure occurred.
Customer-data handling#
IP addresses and email targets can appear in results, logs and CSV exports. Limit the data you retain and share. A support request usually needs a request reference and a short description, not your API key or a full dataset.
Deployment checklist#
- Correct base URL, credential type and JSON content type.
- Configured origin/caller IP and plan entitlement.
- Bounded timeouts with deliberate retry handling.
- Null-safe parsing and separate error/unknown states.
- Credit/usage monitoring appropriate to your traffic.
- No unsupported accuracy, identity or delivery conclusions.