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

# Konten

> Listet die Snapchat-Werbekonten, die Ihr verknüpftes Snapchat-Konto nutzen kann, mit Währung, Zeitzone und Status jedes Kontos.

Rufen Sie die Snapchat-Werbekonten ab, über die Sie Snaps bewerben können. Verwenden Sie die `id` eines Kontos als `accountId` in [Beitrag bewerben](https://www.ayrshare.com/docs/apis/ads/snapchat/boost-post.md).

<ul>
  <li>Verknüpfen Sie Snapchat zuerst auf der Seite „Social Accounts". Die Liste umfasst die Werbekonten aller Snapchat-Organisationen, die Ihr verknüpftes Konto sehen kann.</li>
  <li>Jedes Konto hat seine `id` sowie `name`, `currency`, `timezone` und `status`, sofern Snapchat sie meldet.</li>
  <li>Budgets und Ausgaben eines Boosts lauten auf die `currency` des Werbekontos.</li>
  <li>Lassen Sie `limit` weg, um alle Konten in einer Antwort zu erhalten.</li>
</ul>

## Header-Parameter

**Authorization** `string` *required*

[API Key](https://www.ayrshare.com/docs/apis/overview.md#authorization) of the Primary Profile.

Format: `Authorization: Bearer API_KEY`
**Profile-Key** `string`

[Profile Key](https://www.ayrshare.com/docs/apis/overview.md#profile-key-format) of a User Profile.

Format: `Profile-Key: PROFILE_KEY`

## Query-Parameter

**limit** `number`

Die maximale Anzahl an Konten pro Seite, von 1 bis 1.000. Lassen Sie den Parameter weg, um alle Konten zu erhalten.

**next** `string`

Wenn die Antwort `meta.pagination.hasMore: true` enthält, senden Sie hier ihren Wert `meta.pagination.next`, um die nächste Seite abzurufen. Senden Sie die anderen Parameter unverändert: Ein `next`-Wert aus einer anderen Anfrage liefert `code: 101`.

```bash cURL theme={"system"}
curl \
-H "Authorization: Bearer API_KEY" \
-X GET https://api.ayrshare.com/api/ads/snapchat/accounts
```

```json 200: Success theme={"system"}
{
  "status": "success",
  "adAccounts": [
    {
      "id": "5a0d0000-0000-4000-8000-000000000003",
      "name": "Acme Ads",
      "currency": "USD",
      "timezone": "America/Los_Angeles",
      "status": "ACTIVE"
    }
  ],
  "meta": { "pagination": { "hasMore": false } }
}
```

```json 400: Ad accounts error theme={"system"}
{
  "action": "get ad accounts",
  "status": "error",
  "code": 366,
  "message": "Error getting ad accounts. Please verify you have an active Snapchat ad account and have granted permission to access it. Try unlinking and relinking the platform, then try again. Contact us if the issue persists."
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.