---
title: "Create asset grouping"
method: POST
path: "/api/asset-grouping"
tags: ["Asset Groupings"]
---

# Create asset grouping

`POST /api/asset-grouping`

## Request

- Base URL: `https://api.sponsorunited.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.sponsorunited.com/api/asset-grouping`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/sponsorunited/apis/sponsorunited-api/docs/api/asset-grouping/post.ts> (a function with typed inputs; its response is checked against the schema)

Creates a new asset grouping with optional media order

## Request body

- AssetGroupingRequest
  - `name` string
  - `icon` string
  - `media_order` integer

## Response `200`

The new asset grouping.

- AssetGroupingResource
  - `id` integer
  - `name` string
  - `icon` string
  - `media_order` integer
  - `subgroupings_count` integer

---

[API](https://skmtc.dev/sponsorunited/apis/sponsorunited-api.md) - [All operations](https://skmtc.dev/sponsorunited/apis/sponsorunited-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sponsorunited/apis/sponsorunited-api/revisions/cbf1ca5bff8f?raw)
