API secret keys.Shown once, used everywhere.

Back

How to make an API secret key

Every request to the PigDF API is authenticated with an API secret key. Getting one takes a minute:

1. Create your account and confirm the verification email we send you. Unverified accounts cannot create API secret keys.

2. Open your dashboard and go to the API Secret Keys page.

3. Click Create API Secret Key. The full key is shown once, right after creation. Copy it and store it somewhere safe, because we keep only a fingerprint and can never show it again.

4. Send the key with every request in the Authorization header.

Authorization: Bearer pigdf_your_api_secret_key

Each plan includes a number of API secret keys you can create (one per server or project is a good habit), and you can delete any of them at any time from the same page. Deleting a key disables it immediately.