Discussions
API Integration Issues - Multiple Endpoints Returning 404 and Authentication Problems
about 1 month ago by Geoffrey Rab
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:
- /v2/avatars
- /v1/avatars
- /v2/avatar/generate
- /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:
- Could you confirm the current, correct API endpoint URLs?
- Are there any recent changes in API authentication methods?
- 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