cURL
curl --request GET \ --url https://api.heygen.com/v3/video-agents/{session_id}/resources/{resource_id} \ --header 'x-api-key: <api-key>'
{ "data": { "resource_id": "<string>", "resource_type": "<string>", "source_type": "<string>", "url": "<string>", "thumbnail_url": "<string>", "preview_url": "<string>", "created_at": 123, "metadata": {} } }
Returns a single session resource (image, video, draft, avatar, voice, etc.) by its resource_id.
HeyGen API key. Obtain from your HeyGen dashboard.
Session ID
Resource ID
Successful response
Simplified session resource for external consumers.
Show child attributes