TrustyGorilla Docs
REST API

Authentication

How to authenticate requests to the TrustyGorilla REST API.

API Keys

All API requests must include your API key in the Authorization header as a Bearer token.

Authorization: Bearer tg_live_xxxxxxxxxxxx

Getting an API key

  1. Sign in to the TrustyGorilla Dashboard
  2. Navigate to Settings → API Keys
  3. Click Create new key

Security

  • Never expose your API key in client-side code or public repositories.
  • Use environment variables to inject the key at runtime.
  • Rotate keys immediately if they are compromised.

Example request

curl https://api.trustygorilla.com/v1/verify \
  -H "Authorization: Bearer tg_live_xxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{"resource": "https://example.com/doc.pdf"}'

On this page