---
updatedAt: 2025-10-01T13:24:58.000Z
agentTools:
  projectIndex: https://docs.quable.com/v5-EN/llms.txt
---

# /assets

Create a new asset

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "2d049f10adc518320a4a4ebeb07b64db5b919923",
    "title": "Quable PIM/DAM API v4"
  },
  "paths": {
    "/assets": {
      "post": {
        "description": "Create a new asset",
        "tags": [
          "Assets"
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "required": [
                    "success",
                    "data.code",
                    "data.classification_code",
                    "data.location"
                  ],
                  "properties": {
                    "success": {
                      "type": "boolean"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "classification_code": {
                          "type": "string"
                        },
                        "location": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AssetPost"
              }
            }
          },
          "required": true
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://instance_name.quable.com/api_1.php"
    }
  ],
  "components": {
    "schemas": {
      "AssetPost": {
        "type": "object",
        "required": [
          "code",
          "media_url"
        ],
        "properties": {
          "active": {
            "type": "boolean"
          },
          "classification_code": {
            "type": "string"
          },
          "code": {
            "type": "string"
          },
          "media_url": {
            "type": "string"
          }
        },
        "example": {
          "active": 1,
          "code": "document_blue-jpg",
          "classification_code": "quable_cloth_woman_pictures",
          "name": "Blue pant - Front",
          "media_url": "https://mon-domaine.com/quable_cloth_woman_pictures.jpg"
        }
      }
    }
  }
}
```