Discussions

Ask a Question
Back to All

Inquiry on Streaming API Access with Pro Subscription and Unauthorized Error Code

(edited)

Hi Team HeyGen,

I’m interested in using the HeyGen Streaming API and creating an interactive experience with custom avatars. I received the following information:

"To create your own Interactive Avatar, navigate to HeyGen Labs and click 'Create Avatar'. Custom Interactive Avatars are available on the Team plan. Free and Creator plan users can explore the technology with our public avatars."

Additionally, I’m aware of the 10 free API credits per month for all users, as well as the availability of integration options through the SDK documentation.

However, it’s unclear if the Pro subscription grants access to the Streaming API, or if I would need the Enterprise plan to use this feature. I attempted to generate an access token using the following command:

bash
코드 복사
curl -X POST https://api.heygen.com/v1/streaming.create_token -H "x-api-key: <apikey>"
Unfortunately, I received this response:

json
코드 복사
{"code":400112,"message":"Unauthorized"}
Could you please clarify:

Does the Pro subscription allow access to the Streaming API?
Is an Enterprise subscription required for this feature, or is there an option to use the Streaming API alone without an Enterprise plan?
Thank you for your assistance. I look forward to your guidance on how best to proceed.