API Reference

Authentication

This page describes the Authentication options for making HTTP API Requests

Your API requests are authenticated using your Bugpilot API Key. You can get the API Key for your workspace from the Settings page in your Bugpilot dashboard.

Only a Workspace Owner has access to the API Key. If you're not the owner, you'll need to contact them and ask them to send the Workspace Id and the API Key.

The API Key should start with ws- , and it's specific to the Workspace it was generated for.

🚧

API Keys are private and designed to be used server-side; do not expose your Bugpilot API Key to your users.

Authenticating HTTP Requests

Every request you sent to the HTTP API must have the following HTTP headers. Requests that are missing one of these headers, or contain invalid values, will fail with 401 Unauthorized. Authentication errors are opaque and will not describe the reason of the failure.

Header nameHeader valueRequired
User-AgentBugpilot API Client/1.0Yes
X-Bugpilot-Api-KeyThe API Key you obtained from your Bugpilot dashboard.Yes