# Create Track

{% hint style="info" %}
**In order to be able to process this request, your catalogue must not be in one of the following status.**

* Yönetim Onayı Bekleniyor (Pending Management Approval)
* Dağıtıldı (Distributed)
* Takedown
  {% endhint %}

## Create Track

<mark style="color:green;">`POST`</mark>`/track/create`

To complete the distribution process, you need to add song information to the catalogue you created. In this documentation, we will provide detailed information for track creation.

**Headers**

| Name          | Value              |
| ------------- | ------------------ |
| Content-Type  | `application/json` |
| Authorization | `Bearer <token>`   |

**Body**

<table><thead><tr><th width="237">Name</th><th width="142">Type/Values</th><th width="156" data-type="checkbox">Mandatory field</th><th>Description</th></tr></thead><tbody><tr><td><strong>CatalogUnique</strong></td><td>base64</td><td>true</td><td>The field in the URL variable used in catalog upload in Bremium Network or the Unique value provided to you with the API</td></tr><tr><td>MainArtist</td><td>string</td><td>true</td><td>If the track artists are more than one, you can add more artists by separating them with “,”.</td></tr><tr><td>Feat</td><td>string</td><td>false</td><td>If you have more than one featured artist in your track, you can add more artists by separating them with “,”.</td></tr><tr><td>TrackTitle</td><td>string</td><td>true</td><td>The Track title must not use special characters and must comply with platform rules.</td></tr><tr><td>TrackVersion</td><td>string</td><td>false</td><td>You can use this field if your track has a special name or a special version. (Remix Version, Slowed-Reverb etc.)</td></tr><tr><td>Type</td><td>['Instrumental', 'Original', 'Cover','Remix']</td><td>true</td><td>Choose a suitable type according to the content of your track.</td></tr><tr><td>Explicit</td><td>['Yes', 'No', 'Edited']</td><td>true</td><td>Choose a correct explicit tag to track</td></tr><tr><td>Genre1</td><td>string</td><td>true</td><td>Select the right <a href="/pages/HzyhymK7vPHHsqaiQviw">genre</a> for your track.</td></tr><tr><td>Genre2</td><td>string</td><td>false</td><td>Select <a href="/pages/HzyhymK7vPHHsqaiQviw">genre</a> 2 for your track if you want.</td></tr><tr><td>Composer</td><td>string</td><td>true</td><td>If you have more than one Composer in your track, you can add more artists by separating them with “,”.Should be separated by name and surname</td></tr><tr><td>Lyrictist</td><td>string</td><td>true</td><td>If you have more than one Lyrictist in your track, you can add more artists by separating them with “,”.Should be separated by name and surname. If the track is Instrumental, it is not required to be added.</td></tr><tr><td>TitleLang</td><td>string</td><td>true</td><td>Select Title <a href="/pages/GyXEbGHgt7muTv2TCsPF">Language </a>for your track.</td></tr><tr><td>LyricLang</td><td>string</td><td>true</td><td>Select Lyrics <a href="/pages/GyXEbGHgt7muTv2TCsPF">Language </a>for your track.  If the track is Instrumental, it is not required to be added.</td></tr><tr><td>DiskNo</td><td>integer(1-4)</td><td>true</td><td>Add the disc number where the song in the catalogue is located. In general, this value is ‘1’</td></tr><tr><td>TrackNo</td><td>integer(1-20)</td><td>true</td><td>Add the number where the song on the disc is located. In catalogues containing more than one song, this field specifies the order.This number can be used later to edit the song.</td></tr><tr><td>Duration</td><td>mm:ss</td><td>true</td><td>Enter the duration of the track you added. Example value for a track of 1 minute 34 seconds is 01:34</td></tr><tr><td>ISRC</td><td>string</td><td>false</td><td>You can add your ISRC in this field. If left blank, it will be created automatically by the system.</td></tr><tr><td>PreviewStart</td><td>integer</td><td>false</td><td>Use this field if you want to set preview start for platforms. The start of the preview should be written in total seconds. For example, if the preview start is 01:21, the value to be added should be 81 (60+21)</td></tr><tr><td>Producer</td><td>string</td><td>false</td><td>If you have more than one Producer in your track, you can add more artists by separating them with “,”</td></tr><tr><td>Remixer</td><td>string</td><td>false</td><td>If you have more than one Remixer in your track, you can add more artists by separating them with “,” If added, the song is marked as a remix.</td></tr><tr><td>Publisher</td><td>string</td><td>false</td><td>If you have more than one Publisher in your track, you can add more artists by separating them with “,”</td></tr><tr><td>PriceTag</td><td>['B<strong>ack</strong>', 'Mid', 'Front']</td><td>false</td><td>If you want to set a price tag, you can use this field</td></tr><tr><td>ArtistMapping</td><td>array</td><td>false</td><td>For delivery to the correct profiles.</td></tr></tbody></table>

```php
//ArtistMapping (PHP)

$input['ArtistMapping'] = [
    'MainArtist' => [
        1 => [
            'Spotify' => 'Artist1 Spotify Profile Link',
            'AppleMusic' => 'Artist1 Apple Music Profile Link'
        ],
        2 => [
            'Spotify' => 'Artist2 Spotify Profile Link',
            'AppleMusic' => 'NEW' //Create a new profile for Apple Music
        ]
        
        ...
        
    ],
    'Feat' => [
        1 => [
            'Spotify' => 'FeatArtist1 Spotify Profile Link',
            'AppleMusic' => '' // If empty, the DSP matches the profile itself
        ]
    ]
];
```

**Response**

{% tabs %}
{% tab title="200" %}

```json
{
    "success": "true",
    "data": {
        "CatalogUnique": "QnJlbWl1bSBOZXR3b3Jr=",
        "Message": "Yeni şarkı kataloga başarıyla eklendi"
    }
}
```

{% endtab %}

{% tab title="404" %}

```json
{
  "success": "false",
  "data": "Hatalı Katalog ID"
}
```

{% endtab %}

{% tab title="403" %}

```json
{
  "success": "false",
  "data": "Forbidden"
}
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developer.bremium.network/api-sections/tracks/create-track.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
