post https://api.heygen.com/v1/streaming.create_token
This endpoint is used to generate a new access token for a streaming session.
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. |