Skip to main content

Authentication

Upload-Post uses API keys to authenticate requests. This guide explains how to obtain and use your API key.

Getting Your API Key

  1. Log in to your Upload-Post Dashboard
  2. Navigate to the "API Keys" section
  3. Click "Generate New API Key"
  4. Copy and securely store your API key

Using Your API Key

Include your API key in the Authorization header of all API requests:

Authorization: Apikey your-api-key-here

Example Request

curl \
-H 'Authorization: Apikey your-api-key-here' \
-F 'video=@/path/to/your/video.mp4' \
-F 'title="My Video"' \
-F 'user="test"' \
-F 'platform[]=tiktok' \
-X POST https://api.upload-post.com/api/upload

Security Best Practices

  • Never share your API key: Keep your API key confidential
  • Use environment variables: Store your API key in environment variables
  • Rotate keys regularly: Generate new API keys periodically
  • Restrict access: Only share API keys with trusted team members
  • Monitor usage: Regularly check your API key usage in the dashboard

API Key Limits

  • Each API key has a rate limit of 10 requests per minute
  • Free tier includes 10 uploads per month
  • Additional uploads available through paid plans

Troubleshooting

If you receive a 401 Unauthorized error:

  1. Verify your API key is correct
  2. Check if your API key has expired
  3. Ensure you're using the correct header format
  4. Confirm your account is active

For additional help, contact our support team.