> ## Documentation Index
> Fetch the complete documentation index at: https://docs.langdock.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Integrations-Icon abrufen

> Rufe die Icon-URL einer Integration ab

Gibt die Icon-URL einer Integration zurück. Wenn die Integration kein Icon hat, ist `iconUrl` `null`.

## Basis-URL

```
https://api.langdock.com/integrations/v1/{integrationId}/icon
```

<Warning>
  **Dedicated Deployments**

  Ersetze `api.langdock.com` durch `<your-deployment-url>/api/public` in allen Anfragen.
</Warning>

## Erforderliche Scopes

Dieser Endpoint erfordert den `INTEGRATION_API` Scope.

## Parameter

| Parameter       | Typ    | Erforderlich | Beschreibung         |
| --------------- | ------ | ------------ | -------------------- |
| `integrationId` | string | Ja           | UUID der Integration |

## Beispiel

```javascript theme={null}
const axios = require("axios");

async function getIcon(integrationId) {
  const response = await axios.get(
    `https://api.langdock.com/integrations/v1/${integrationId}/icon`,
    {
      headers: {
        Authorization: "Bearer YOUR_API_KEY"
      }
    }
  );

  console.log("Icon URL:", response.data.iconUrl);
}

getIcon("550e8400-e29b-41d4-a716-446655440000");
```

## Antwortformat

### Erfolgreiche Antwort (200 OK)

```typescript theme={null}
{
  iconUrl: string | null;
}
```

## Fehlerbehandlung

| Status Code | Beschreibung                            |
| ----------- | --------------------------------------- |
| 400         | Ungültiges Format der Integration-ID    |
| 401         | Ungültiger oder fehlender API-Schlüssel |
| 403         | Kein Zugriff auf diese Integration      |
| 404         | Integration nicht gefunden              |
| 429         | Rate Limit überschritten                |

<Info>
  Langdock blockiert bewusst Browser-basierte Anfragen, um deinen API-Schlüssel zu schützen und die Sicherheit deiner Anwendungen zu gewährleisten. Weitere Informationen findest du in unserem Guide zu [Best Practices für API-Schlüssel](/de/admin/ai-adoption-and-rollout/best-practices/api-key-best-practices).
</Info>
