How to generate session token (avh)

hello, i found several documentation which seems incomplete to each other? how do I create the session token with the nodejs sdk?

also here its described there is an endpoint to retrieve the session token:

by using

GET https://vod.api.video/vod/{videoId}/token/{private token}/session

but i cannot find any documentation on that endpoint here Videos · api.video documentation which seems to be the go to endpoint api reference?

Hey @d.ngoviet thank you for bringing this to my attention. I wasn’t aware that there was a lack of documentation on this and the sessions endpoint. I will discuss this with my team and provide an update as soon as possible.