General
Integrations
How to
Configuration
APIBeta
Authentication
The Panelbear API uses Auth Tokens to authenticate requests. You can create and manage them directly from the Panelbear Dashboard, under Settings > Auth Tokens
.
Your Auth Tokens are sensitive information, you should keep them secure! Whoever holds the token secret can access your account and act on your behalf. If you believe a token has been compromised, we recommend you immediately rotate or delete it from the Auth Token Settings page.
To use a token to make authenticated requests to our API, simply include the Authorization: Bearer <TOKEN>
header on the HTTP request. For example:
$ curl -H "Authorization: Bearer <TOKEN>" \ -H "Content-type: application/json" \ "https://api.panelbear.com/v1/sites"
All API requests must be made over HTTPS, must include a valid auth token, and set the content type to application/json
, otherwise the request might be rejected.