Coverage Cat Get API Key
Browser-safe Coverage Cat operator key setup guide for humans who need delegated umbrella access.
This page is the browser-safe starting point for humans who need an operator credential. It explains the supported paths and links to the JSON endpoints, but it does not ask a browser to guess how to call a POST-only API.
Use OAuth when your host already supports standard browser auth, and use the OTP compatibility flow when you need a reusable operator key for delegated Coverage Cat workflows.
1. Pick the right auth path
Coverage Cat supports two main operator-auth paths:
- Standard OAuth browser flow for hosts that already support authorization-code + PKCE.
- OTP compatibility flow for humans or teams who need a reusable operator key.
Read /developers/auth first if you need the full protocol details.
2. Request the OTP with your operator email
Use your operator or integration email, never the end-customer email.
curl -X POST https://www.coveragecat.com/api/agent/key/request -H "Content-Type: application/json" -d '{"email":"you@yourco.com"}'
Use /developers/auth for delegated umbrella operator setup.
3. Confirm the code and receive the key
curl -X POST https://www.coveragecat.com/api/agent/key/confirm -H "Content-Type: application/json" -d '{"email":"you@yourco.com","otp":"123456"}'
Rotate later with your existing bearer key:
curl -X POST https://www.coveragecat.com/api/agent/key/rotate -H "Authorization: Bearer ccop_..."
4. Store the key server-side
- Store the issued key in a server-side secret manager.
- Do not embed it in browser code, mobile apps, or customer-visible prompts.
- Reuse the same operator key across many customers, but set each customer’s real email on their own intake.
5. Rehearse in sandbox before live traffic
Coverage Cat publishes sandbox guidance at /developers/sandbox:
-
Consumer umbrella synthetic sandbox: set
sandbox: trueonly on the first/api/consumer/umbrella/prefillcall orumbrella_consumer_prefill, then continue through the same shopper-facing follow-up loop with synthetic quotes, uploads, payment credentials, policy records, and service requests only -
Delegated umbrella API sandbox:
sandbox: trueonly on the first draft call, limited to draft/quote/status rehearsal
6. Browser note
This page is intentionally human-readable. The OTP endpoints themselves are still JSON API routes:
POST /api/agent/key/requestPOST /api/agent/key/confirmPOST /api/agent/key/rotate
If you want the standard browser-based flow instead of a reusable operator key, start with /auth.md and /oauth2/authorize.
Multi-language starter samples
Coverage Cat’s shopper-safe consumer discovery document is the fastest starting point for a personal shopping agent. From there, call the consumer-prefill flow instead of sending the shopper straight to /umbrella.
curl https://www.coveragecat.com/api/consumer
curl -X POST https://www.coveragecat.com/api/consumer/umbrella/prefill \
-H "Content-Type: application/json" \
-H "Coverage-Cat-API-Version: v1" \
-H "Idempotency-Key: demo-consumer-prefill-1" \
-d '{"credit_consent_pending":true,"intake":{"full_name":"Taylor Example","email":"taylor@example.test","address":{"street":"123 Main St","city":"San Francisco","state":"CA","zip":"94107"}}}'
const discovery = await fetch("https://www.coveragecat.com/api/consumer").then((response) => response.json());
console.log(discovery.preferred_openapi_url);
import requests
discovery = requests.get("https://www.coveragecat.com/api/consumer", timeout=30).json()
print(discovery["preferred_openapi_url"])