> Docs index: https://movekit.com/llms.txt. HTML version: https://movekit.com/docs/objects/delivery

# Delivery

A short-lived download link. `url` has the form {DELIVERY_WORKER_URL}/media/{grantId}?t={token}; it is the authorization, so never send the API key to it and never log or share it.

## Fields

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `id` | string | yes | Download link id. |
| `assetId` | string | yes | The asset to download. |
| `exerciseId` | string | yes | The exercise the asset belongs to. |
| `purpose` | "sync" | yes | Always sync: an import into your own storage. |
| `url` | string | yes | The media URL on the delivery host. Supports GET and HEAD with single byte ranges. |
| `expiresAt` | string (date-time) | yes | 300 seconds after issue. Request a new download link afterwards. |
| `mediaType` | string | yes | The file's media type. One of `video/mp4`, `image/jpeg`, `image/webp`, `image/png`. |
| `bytes` | integer | yes | Size of the full file in bytes. |
| `sha256` | string | yes | Verify the downloaded file against it. |
| `version` | string | yes | The asset revision served. |

## Example

```json
{
  "id": "grant_2b7c91d4e8",
  "assetId": "ex75-video",
  "exerciseId": "75",
  "purpose": "sync",
  "url": "https://media.movekit.com/media/grant_2b7c91d4e8?t=eyJ2IjoxfQ.Vb7rT2q",
  "expiresAt": "2026-10-04T12:05:00.000Z",
  "mediaType": "video/mp4",
  "bytes": 3400000,
  "sha256": "3b4c1f8e9a2d7c6b5e4f3a2918d7c6b5a4f3e2d1c0b9a8f7e6d5c4b3a2918d7c",
  "version": "a85af51d942c"
}
```

## Returned or accepted by

- [Create deliveries](https://movekit.com/docs/api/create-deliveries.md): `POST`
