DocsAPI Authentication

API Authentication

Authenticate your API requests

API Authentication

Secure your API requests with proper authentication.

Getting an API Key

  • Go to Settings > API in your dashboard
  • Click "Generate API Key"
  • Copy and store your key securely
  • Using Your Key

    Include the key in the Authorization header:

    curl -H "Authorization: Bearer YOUR_API_KEY" \
      https://api.pushit.so/v1/posts
    

    Key Security

  • Never expose keys in client-side code
  • Rotate keys regularly
  • Use environment variables