Passer à la navigation

Generation Status Update

Receive a notification when a generation changes status

En-têtes

X-Signature-PrimarystringRequis
An HMAC signature of the payload

Charge utile

The payload of this webhook request is an object.
statusenumRequis
The status of the generation
Valeurs autorisées:
createdAtdatetimeRequis
The date and time the generation was created
idstringRequis
A unique identifier for the generation.
inputlist of objectsRequis
The input items for the generation
modelenumRequis
name of the model to use for generation.
Valeurs autorisées:
errorstringOptionnel
error message if the generation failed
error_codestringOptionnel
error code if the generation failed
optionsobjectOptionnel
options used for the generation
outputDurationdoubleOptionnel
generated output media duration in seconds
outputUrlstringOptionnel
url of the generated output media
segmentOutputUrlstringOptionnel
url of the segment output media
webhookUrlstringOptionnel
url of the webhook server

Réponse

200
n'importe quel
Retournez un statut 200 pour indiquer que les données ont été reçues avec succès.