---
title: "Assets: URL Assets"
url: "https://fileflare.io/docs/api-assets-url-assets/"
description: "API reference for creating and managing URL assets through the Fileflare API."
published: "2026-03-27T16:26:35+00:00"
modified: "2026-05-01T17:16:00+00:00"
---

Create a URL asset — a Fileflare asset that points at a file hosted somewhere else (Dropbox, Drive, your own server). Customers receive a Fileflare-domain redirect link rather than the underlying URL, so download counts and limits still apply.

Requires [Bearer authentication](/docs/api-authentication/) with your Fileflare key. Rate-limited to 60 requests per minute.

## Endpoint

```
POST https://app.digital-downloads.com/api/v1/assets/store
```

## Parameters

### Body (JSON)

- `filename` (string, required) — the display name for the asset
- `size` (integer, required) — file size in bytes (used for display)
- `url` (string, required) — the destination URL the customer will be redirected to
- `type` (string, required) — must be `"link"` for URL assets

## Example request

```
curl -X POST https://app.digital-downloads.com/api/v1/assets/store \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "filename": "Big course bundle",
    "size": 524288000,
    "url": "https://drive.google.com/file/d/abc123/view",
    "type": "link"
  }'
```

## Example response — 200 OK

```
{
  "asset": {
    "id": "82664d96-6dfd-4343-96b0-05c46f412a5c",
    "filename": "Big course bundle",
    "size": 524288000,
    "is_file": false,
    "is_link": true,
    "url": "https://drive.google.com/file/d/abc123/view"
  }
}
```

## Common errors

- **422** — missing required field, or `url` isn’t a valid URL.

## Keep learning

- [URL assets — full overview](/docs/url-assets/)
- [Upload a file (file asset)](/docs/api-assets-files/)
- [Bulk-create URL assets via CSV](/docs/bulk-add-urls-attach-to-products/)
