send0
Error codes

invalid_api_key

The API key you sent is not valid.

Status: 401 · Code: invalid_api_key

The key you sent doesn't match any active key on any workspace.

Common causes

  • The key was revoked from the dashboard
  • You're using a production key (sk_live_...) against a staging setup, or vice-versa
  • You copy-pasted the key prefix shown in the dashboard — only the full secret works, and we only show that once at creation
  • Leading/trailing whitespace snuck in (common when pasting from a terminal)

How to fix

  1. Open app.send0.dev/api-keys. Check the key you're using is in the list and active.
  2. If it's not there or is revoked: create a new one and store it securely (environment variable, not committed to git).
  3. Trim the value: echo -n "$SEND0_API_KEY" | wc -c should match the expected key length.