Back to Support
Getting Started

Getting Started with Your API Key

Learn how to set up authentication and make your first API request

Getting Started with Your API Key


Your API key is required to authenticate all requests to the FFmpeg Micro API.


Getting Your API Key


  • Log in to your dashboard
  • Navigate to API Keys
  • Click "Create New API Key"
  • Copy the key immediately (you won't be able to see it again)

  • Using Your API Key


    Include your API key in the Authorization header of every request:


    curl -X POST https://api.ffmpeg-micro.com/v1/transcodes \
      -H "Authorization: Bearer YOUR_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{ "inputs": [...] }'
    

    Security Best Practices


  • Never commit API keys to version control — use environment variables instead
  • Rotate keys regularly — create a new key and delete the old one from your dashboard
  • Use separate keys for development and production — this makes it easier to track usage and revoke access if needed
  • Store keys securely — in environment variables, secrets managers, or secure vaults

  • Common Issues


    401 Unauthorized: Your API key is missing or invalid. Double-check that you've copied it correctly and included the Bearer prefix.


    403 Forbidden: Your API key is valid but doesn't have permission for this action. This usually means your account has hit a quota limit or the key has been revoked.


    Next Steps


    Once you have your API key set up, follow the API documentation to make your first transcode request.