Discussions

Ask a Question
Back to All

API Integration Issues - Multiple Endpoints Returning 404 and Authentication Problems

Dear all,

I am experiencing significant difficulties integrating with the HeyGen API and would appreciate your technical assistance in resolving these issues.

Detailed Problem Description:

  • When attempting to access various API endpoints, I consistently receive 404 (Not Found) errors
  • Endpoints tested include:
    1. /v2/avatars
    2. /v1/avatars
    3. /v2/avatar/generate
    4. /v1/video/generate

Specific Observations:

  • Authentication attempts using both Bearer token and X-Api-Key methods result in:
    • 401 Unauthorized error for /v2/avatars
    • 404 Not Found for other endpoints
  • The API key is a base64 encoded string with a timestamp
  • Network connectivity and DNS resolution to api.heygen.com are confirmed functional

Technical Environment:

  • Python 3.13.2
  • Requests library 2.32.3
  • Operating System: Windows 10
  • API Key: Verified and recently generated from developer settings

Request:

  1. Could you confirm the current, correct API endpoint URLs?
  2. Are there any recent changes in API authentication methods?
  3. Do you have updated documentation for API integration?

I have already:

  • Verified network connectivity
  • Regenerated the API key
  • Tested multiple authentication methods
  • Confirmed account is active

Thank you for your prompt assistance.

Best regards,
Geoffrey