Skip to content

Resource

Assets

The asset object

Attributes

  • assetobject
    Show 11 child attributesHide child attributes
    • idstring

      Unique asset identifier

    • typestring

      The asset type. internal for uploaded files, external for URL-based assets, licence for licence key assets.

      One of internalexternallicence
    • namestring, nullable

      Display name of the asset.

    • filenamestring, nullable

      Filename of the asset (derived from the file or URL).

    • external_urlstring, nullable

      The external URL for external type assets. null for other types.

    • content_typestring, nullable

      MIME type of the asset.

    • byte_sizeinteger

      File size in bytes. 0 for external and licence assets.

    • watermark_assetboolean

      Whether watermarking is enabled for this asset (PDFs only).

    • autogenerate_licence_keyboolean

      Whether a licence key is auto-generated when this asset is purchased.

    • created_atstring

      When the asset was created.

    • updated_atstring

      When the asset was last updated.

The asset object
{
  "asset": {
    "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "type": "external",
    "name": "Photoshop Brushes Pack",
    "filename": "brushes-pack-v2.zip",
    "external_url": "https://cdn.example.com/files/brushes-pack-v2.zip",
    "content_type": "application/zip",
    "byte_size": 0,
    "watermark_asset": false,
    "autogenerate_licence_key": false,
    "created_at": "2026-01-15T09:30:00Z",
    "updated_at": "2026-01-15T09:30:00Z"
  }
}