Send Video Agent Message
Changed onSends a follow-up turn to a session created in either generate or chat mode; follow-up turns preserve the session mode. Send a message, a scene edit_plan built from GET /v3/videos/{video_id}/scenes, or both. Items may reference different scene snapshots from this session; none identifies the output draft. edit_version is not a document lock, so two edits from one version may both be accepted. Returns the current working draft in video_id. Poll GET /v3/videos/{video_id} for status. For a failed video, inspect failure_code and failure_message; the session endpoint also exposes known stop reasons in error.
Request
- Base URLhttps://api.heygen.com
- URLhttps://api.heygen.com/v3/video-agents/{session_id}
- Auth
- API key in header x-api-key
- or HTTP bearer
Path parameters
Session ID
Headers
Optional client-supplied key for safely retrying mutations. Subsequent calls within 24 hours that share this key replay the original response — even if the request body differs slightly (a warning is logged). A retry that arrives while the original is still in flight gets a 409 request_in_progress. Keys must be 1–255 characters from [A-Za-z0-9_:.-]; a UUID is a safe default. Scope is per-endpoint and per-resource: the same key on a different route or path parameter is independent.
Request body
Response
Successful response
Changes
- info
added the new optional
headerrequest parameterIdempotency-Key - info
added the new optional request property
- info
added
subschema #1subschema #2to the request bodyanyOflist - info
the request property
became optional - info
the
request property default valuewas added - info
added
asset_idbase64urldiscriminator mapping keys to the//request property - info
the
request property's minLength was decreased from1to0 - info
added the non-success response with the status
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info