# Create Link

## Link Create

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

Creates a sharing page with links to DSPs by catalog data

**Headers**

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

**Body (Method 1)**

<table><thead><tr><th>Name</th><th>Type</th><th data-type="checkbox">Mandatory field</th><th>Description</th></tr></thead><tbody><tr><td>CatalogUnique</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>LinkType</td><td>['Kapak', 'Video']</td><td>false</td><td>Optional field. Specifies the link type. Default value “Kapak”</td></tr><tr><td>Status</td><td>['Yayında', 'Taslak']</td><td>false</td><td>Optional field. Specifies the link status. Default value “Yayında”</td></tr></tbody></table>

**Body (Method 2)**

<table><thead><tr><th>Name</th><th>Type</th><th data-type="checkbox">Mandatory field</th><th>Description</th></tr></thead><tbody><tr><td>ArtistName</td><td>string</td><td>true</td><td>Artist name you want to save in the link system</td></tr><tr><td>AlbumName</td><td>string</td><td>true</td><td>Album name you want to save in the link system</td></tr><tr><td>SourceURL</td><td>URL</td><td>true</td><td>Link to the platform for automatic scanning on all DSP's</td></tr><tr><td>CoverArtURL</td><td>URL</td><td>true</td><td>Album cover image link to be used in the link system</td></tr><tr><td>LinkType</td><td>['Kapak', 'Video']</td><td>false</td><td>Optional field. Specifies the link type. Default value “Kapak”</td></tr><tr><td>Status</td><td>['Yayında', 'Taslak']</td><td>false</td><td>Optional field. Specifies the link status. Default value “Yayında”</td></tr></tbody></table>

**Response**

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

```json
{
    "success": "true",
    "data": {
        "LinkUnique": "gP8YXUKD",
        "SmartLinkURL": "https:\/\/bremium.org\/gP8YXUKD",
        "Message": "Link başarıyla oluşturuldu."
    }
}
```

{% endtab %}

{% tab title="400" %}

```json
{
  "success": "false",
  "data": "Sağlanan CatalogUnique veya SourceURL ile eşleşen bir kayıt bulunamadı."
}
```

{% 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/link/create-link.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.
