Authentication

Every API call carries your key in one header.

The header

Header
x-api-key: wa_your_key_here

Good practice

  • Call the API from your server, never from a browser or mobile app, because the key would be public.
  • Keep it in an environment variable, not in source control.
  • If it leaks, regenerate it in your profile. The old key stops working.

Auth errors

HTTPMessageCause
401API key requiredHeader missing
401Invalid API keyKey unknown or regenerated
403This account has been suspended. Please contact support.Account is suspended
403Active subscription required to use APISubscription not active

Related

Last reviewed 2026-11-09. QuackAPI is an unofficial linked-device service. Acceptable use