post
https://api.heygen.com/v1/streaming.create_token
This endpoint is used to generate a new access token for a streaming session.
Interactive Avatar is getting upgraded to LiveAvatar! Now with its own website and app. Learn more
We recommend integrating directly with LiveAvatar instead. Docs
If you have an existing HeyGen Interactive Avatar implementation, we recommend checking out our migration guide. Docs
You need to generate a new access token for each streaming session. Each session must have a unique token.
Response Body
| Field | Type | Description |
|---|---|---|
error | integer | The error information, if any. null if no error. |
data | object | Contains the result data. |
data.token | string | The generated access token for the streaming session. |
