> ## 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.

# 获取推广授权

> 分页列出您账户中有效和已撤销的推广授权。每一项对应一个所有者、付款方和平台的组合。

分页列出您账户中的推广授权，包括有效的和已撤销的。每一项对应一个所有者、付款方和平台的组合。请使用 Primary Profile（主 Profile）的 API Key 发送请求，且不要附带 `Profile-Key`。

如需获取下一页，请将响应中的 `meta.pagination.next` 作为 `next` 发送。当 `meta.pagination.hasMore` 为 `false` 时，表示您已获取全部推广授权。

## 请求头参数

**Authorization** `string` *required*

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

Format: `Authorization: Bearer API_KEY`

## 查询参数

**limit** `number` (default: 100)

返回的推广授权数量上限，取值范围为 1 到 500。

**next** `string`

上一页返回的 `meta.pagination.next`。获取第一页时请省略此参数。

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

```json 200 theme={"system"}
{
  "status": "success",
  "delegations": [
    {
      "id": "Kx3v9QpL2mZ7tR1wYb4N",
      "owner": { "refId": "140b8709bd6ade099b242d895e268fb886130c53", "title": "Agent One" },
      "payer": { "refId": "9f1c3e7a2b4d", "title": "Agency" },
      "platform": "instagram",
      "permission": "unknown",
      "status": "revoked",
      "revokedReason": "api"
    }
  ],
  "meta": { "pagination": { "hasMore": false, "limit": 100 } }
}
```


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