> For the complete documentation index, see [llms.txt](https://docs.magic-bot.ovh/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.magic-bot.ovh/endpoints/endpoints/premium.md).

# Premium

## Obtenir des informations sur la méthode

## Afficher la liste des méthodes disponibles et leur description  / syntaxe respective.

<mark style="color:blue;">`GET`</mark> `https://api.magic-bot.ovh/v1/premium`

#### Path Parameters

| Name                                            | Type   | Description  |
| ----------------------------------------------- | ------ | ------------ |
| Authorization<mark style="color:red;">\*</mark> | String | Your api key |

{% tabs %}
{% tab title="200: OK Page affichée avec succès" %}

{% endtab %}

{% tab title="401: Unauthorized Permission refusée" %}

{% endtab %}
{% endtabs %}

## Obtenir le statut du premium de votre serveur

## Afficher le statut du premium de votre serveur

<mark style="color:blue;">`GET`</mark> `https://api.magic-bot.ovh/v1/premium/:guildId`

#### Path Parameters

| Name                                            | Type   | Description                        |
| ----------------------------------------------- | ------ | ---------------------------------- |
| Authorization<mark style="color:red;">\*</mark> | String | Your api key                       |
| guildId<mark style="color:red;">\*</mark>       | String | The identifier of the guild to get |

{% tabs %}
{% tab title="200: OK Liste affichée avec succès !" %}

```javascript
{
   "guildId": "829070822629965864",
   "premium": <true || false>,
   "status": 200
}
```

{% endtab %}

{% tab title="404: Not Found Aucun premium n'a été trouvé pour ce serveur" %}

```javascript
{
   "guildId": "829070822629965864",
   "premium": false,
   "status": 404
}
```

{% endtab %}
{% endtabs %}
