Ir para a navegação

Generation Status Update

Receive a notification when a generation changes status

Cabeçalhos

X-Signature-PrimarystringObrigatório
An HMAC signature of the payload

Payload

The payload of this webhook request is an object.
statusenumObrigatório
The status of the generation
Valores permitidos:
createdAtdatetimeObrigatório
The date and time the generation was created
idstringObrigatório
A unique identifier for the generation.
inputlist of objectsObrigatório
The input items for the generation
modelenumObrigatório
name of the model to use for generation.
Valores permitidos:
errorstringOpcional
error message if the generation failed
error_codestringOpcional
error code if the generation failed
optionsobjectOpcional
options used for the generation
outputDurationdoubleOpcional
generated output media duration in seconds
outputUrlstringOpcional
url of the generated output media
segmentOutputUrlstringOpcional
url of the segment output media
webhookUrlstringOpcional
url of the webhook server

Resposta

200
qualquer
Retorne um status 200 para indicar que os dados foram recebidos com sucesso.