HeyGen icon

HeyGen

HeyGen community node — videos, voices, avatars, video agent, lipsync, assets

Video Agent → List Sessions

AI-generated

Summary

Lists HeyGen Video Agent sessions by calling the v3 GET /video-agents endpoint. Use the pagination controls to choose a page size and, for subsequent pages, pass the opaque token returned by HeyGen.

Inputs

  • Authentication — Choose OAuth2 (default and recommended) or the legacy API key credential.
  • Max Results — Page size; defaults to 20. The UI description says sessions support up to 100 results per page.
  • Pagination Token — Optional opaque cursor from the previous response’s next_token to fetch the next page.

Output shape

One n8n item per input item, with each item’s JSON containing the HeyGen API response for the session list.

The API response is returned directly; this operation does not reshape the session data. The response may include a next_token for pagination.

Links

Discussion