Skip to main content

Documentation Index

Fetch the complete documentation index at: https://apidocs.scripe.io/llms.txt

Use this file to discover all available pages before exploring further.

key_expired

HTTPWhen
401The API key passed the expiresAt configured at creation time.
Expired keys remain in the audit trail (so you can investigate past usage) but stop authenticating new requests immediately at 00:00 UTC on their expiry date. To recover:
  1. From Settings → Developer → API keys, either edit the key to remove or extend the expiry, OR mint a replacement.
  2. Update your integration with the new secret.
  3. Optional: schedule the next expiry on the new key — best practice is to rotate at most every 90 days.