Skip to main content

Assets

All generated content is an asset. Images, PDFs, Documents, etc. is an asset.

All v2 endpoints have cloud storage enabled by default and store assets in your account.

If you do not use cloud storage and disable it on all of your calls, assets will not get stored in our system. Using no storage does not allow you to use asynchronous calls or webhooks in turn.

note

Legacy accounts do not support cloud storage. If you use a legacy account, you will need to upgrade it to get cloud storage.

The following endpoints are provided for managing assets:

Endpoints

GET /assets:id

This Endpoint returns an asset by id.

GET /assets

This Endpoint returns a list of the ten most recent jobs.

Assets Response

ext

The file extension of the asset.

id

The id of the asset.

jobId

The jobId that generated the asset.

size

The size of the generated asset.

timestamp

The Unix timestamp when the asset was created.

type

The type of asset, such as image or pdf, etc.

url

The CDN URL of the asset which can be used publicly.

note

There is no bandwidth or API cost associated with using the asset from this URL.