Authorization header using the bearer scheme.
Create an API Key
Create keys from Settings -> API & MCP. The full key is shown once after creation, so store it before closing the dialog. Keys start withdk_live_. Duckie stores only a hash and a display preview after creation.
Example Request
Scopes
Every key has one or more scopes. A request fails with403 permission_denied when the key does not include the required scope.
The create-key dialog groups scopes into Customer API scopes and Duckie Assistant MCP scopes. You can remove scopes when you want a key to access only a subset of the API or MCP tools.
Invalid or Expired Keys
The API returns401 unauthenticated when a key is missing, malformed, unknown, expired, or revoked.