---
updatedAt: 2026-09-29T23:38:36.000Z
agentTools:
  projectIndex: https://dev.kevel.com/llms.txt
---

# Create Asset

Create a new Asset to get a direct Upload URL.

> 🚧 Caution
>
> There is an additional pay-per-use cost for video asset functionality and usage of video assets is subject to the [Kevel Terms of Service](https://dev.kevel.com/docs/terms-of-service). To get access to this feature, please contact your account manager or email <support@kevel.co>.

## What are Assets?

Kevel Assets provide cloud-based processing and hosting for media files. Assets complement [Creatives](https://dev.kevel.com/docs/creatives), providing a building block for multimedia advertisements. While small pre-processed media (images, audio files) can be added directly to Creatives, Assets allow you to upload large master files directly to Kevel.

For more detailed information about Assets, please see the [Assets](https://dev.kevel.com/docs/assets) documentation.

## Uploading a File

You will receive an `UploadURL` after creating an Asset unless you have provided your own `ContentURL`. This is where you upload your file.

### Upload a video

The URL expires 1 hour after creation and may only be used once. The Asset should be [deleted](https://dev.kevel.com/reference/delete-asset) and a new one created if the URL expires or an unintended file has been uploaded.

> 📘 Use the UploadURL to upload in your client
>
> Using cURL:
>
> > curl -v -X PUT -T myvideo.mp4 "$UPLOAD\_URL"

The file will be processed once uploaded. You can keep track of its `Status` by retrieving the Asset:

* [Get an Asset](https://dev.kevel.com/reference/get-asset)
* [List Assets by Advertiser](https://dev.kevel.com/reference/list-advertiser-assets)
* [List Network Assets](https://dev.kevel.com/reference/list-network-assets)

A `ContentURL` is also provided to download/stream the uploaded file.

## API Syntax

When using the Create Asset API call, it is important to understand the syntax required to make the request. There is a specific request format that must be followed to ensure the endpoint can process the request. The format is:

`POST https://api.kevel.co/v1/advertiser/{advertiser_id}/asset`

Where:

* `POST` - the type of API request being made.
* `https://api.kevel.co` - the URL for the request.
* `v1` - the API version.
* `advertiser/{advertiser_id}/asset` - the API endpoint being called.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "adzerk-management-apis",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.kevel.co"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "name": "X-Adzerk-ApiKey",
        "in": "header"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/v1/advertiser/{advertiser_id}/asset": {
      "post": {
        "summary": "Create Asset",
        "description": "Create a new Asset to get a direct Upload URL.",
        "operationId": "create-asset",
        "parameters": [
          {
            "name": "advertiser_id",
            "in": "path",
            "description": "The ID of the Kevel Advertiser that the Asset belongs to",
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "Name",
                  "Type"
                ],
                "properties": {
                  "Name": {
                    "type": "string",
                    "description": "The Asset name."
                  },
                  "Type": {
                    "type": "string",
                    "description": "The type of Asset.",
                    "enum": [
                      "video",
                      "image"
                    ]
                  },
                  "ContentURL": {
                    "type": "string",
                    "description": "Optionally provide a link to your own externally hosted file instead of uploading a file to Kevel storage."
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"Id\": 12345,\n    \"AdvertiserId\": 56789,\n    \"Name\": \"The Asset name\",\n    \"Status\": \"pending\",\n    \"Type\": \"video\",\n    \"UploadURL\": \"The direct upload URL\",\n    \"IsDeleted\": false\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "Id": {
                      "type": "integer",
                      "example": 12345,
                      "default": 0
                    },
                    "AdvertiserId": {
                      "type": "integer",
                      "example": 56789,
                      "default": 0
                    },
                    "Name": {
                      "type": "string",
                      "example": "The Asset name"
                    },
                    "Status": {
                      "type": "string",
                      "example": "pending"
                    },
                    "Type": {
                      "type": "string",
                      "example": "video"
                    },
                    "UploadURL": {
                      "type": "string",
                      "example": "The direct upload URL"
                    },
                    "IsDeleted": {
                      "type": "boolean",
                      "example": false,
                      "default": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": false,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```