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

# MyAdvertisers

> Retrieve offers for a specific partner by partner ID.

[← Back to API Integration](/integration/api-integration)

Requires an API key — see [Authentication](/integration/api-integration/authentication).

## MyAdvertisers offers

<span className="text-xs font-mono font-semibold bg-[#07C983]/15 text-[#15803D] dark:bg-[#07C983]/20 dark:text-[#07C983] px-2 py-1 rounded">GET</span> `/api/v1/my-advertisers/offers`

The full list of offers currently set up in the Tyviso Platform for the given partner. Returns [Offer objects](/integration/api-integration/core-objects).

<ParamField query="partnerId" type="string" required>
  The partner ID to retrieve offers for.
</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl --get "$BASE/api/v1/my-advertisers/offers" \
    -d "partnerId=644aa8243533a621322123" \
    --header "X-API-Key: $KEY"
  ```

  ```javascript JavaScript theme={null}
  const url = new URL(
    `${BASE}/api/v1/my-advertisers/offers`
  );
  url.searchParams.set("partnerId", partnerId);

  const res = await fetch(url, {
    headers: { "X-API-Key": KEY },
  });
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "success": true,
    "data": [
      {
        "id": "67dd795d86f2741c8842cbf1",
        "partner": "Advertiser",
        "partnerLogo": "https://…/logo.png",
        "ageRestricted": false,
        "terms": "Offer valid until stocks last.",
        "title": "50% Discount",
        "description": "Get 50% off selected products.",
        "offerDiscountCode": "SUMMER50",
        "offerDiscountCodeType": "availableAtCheckout",
        "hasMultipleCodes": false
      }
    ]
  }
  ```
</ResponseExample>

See [Errors](/integration/api-integration/errors) for error shapes.
