Skip to main content
GET

Overview

Returns one image or video of your library. After Import Media from URL, poll it until status is COMPLETED (pass the id to any create endpoint) or FAILED. Every few seconds is enough; a large video takes up to a couple of minutes. An import still running after 15 minutes reads as FAILED, so a poll loop always ends. This call is free and safe to retry. url is an empty string until the media is COMPLETED. A FAILED media says why in error (null otherwise). Rather not poll? Pass a webhook when you import or generate: see media webhooks.

Errors

Authorizations

x-api-key
string
header
required

Path Parameters

mediaId
string
required

The media id, from List Media, an import or an upload.

Response

Media found

success
boolean
message
string
data
object

An image or video of your team's media library. Pass its id wherever a create endpoint takes a media id, once status is COMPLETED.