Authorization header:
Key format
The middle segment names the environment that issued the credential. A production server refuses a staging key with a specific error so the mismatch is obvious:
Error codes
Rotating a key
Ask Hooper to mint a new key, switch your integration to it, then have the old one revoked. Revocation is immediate; a revoked key returnsinvalid_api_key.