Media
Import Media
Import external media video | audio | image
POST
Webhooks
Webhooks allow video.dev
to notify your API when results are ready.
This eliminates unnecessary requests made by polling, and can get results back faster.
Webhooks can be registered as part of the request and various events can be subscribed to get status of .
The following is a full list of all webhook events which can be subscribed.
Event | Description |
---|---|
complete | Occurs when a media import completes |
error | Occurs when a media import has encountered errors |
The webhook will be POST to the URL you provided with a JSON payload. The payload will contain the event type and the details associated with the event.
Authorizations
Body
application/json
Response
200
application/json
Media import initiated successfully
The response is of type object
.