# AgencyClients.add stops working

Calls to /AgencyClients/add on Yandex Direct API stopped working on June 16, 2025.

On June 16, 2025, the /AgencyClients/add endpoint was removed from service. Calls to this method fail because the service no longer supports it. Applications sending requests to this endpoint will receive errors.

## What to use instead

Use the addPassportOrganization method instead.

- API: Yandex Direct API (api.direct.yandex.com)
- Kind: Endpoint removal
- Announced: June 16, 2025
- Takes effect: June 16, 2025
- Calls after that day: fail
- Calls it hits: `/AgencyClients/add`
- Source: [Changelog](https://yandex.com/dev/direct/doc/en/changelog)
- Verified: October 26, 2026, against Yandex Direct API's own pages
- Page: https://www.okapi.bot/providers/yandex-direct-api/breaking-changes/agencyclients-add-stops-working/

## Yandex Direct API's words

> The AgencyClients service no longer supports the add method. Use the addPassportOrganization method instead.

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
