# The Legacy Custom Objects relationships API stops working

Calls to /api/sunshine/relationships/* on Zendesk API stopped working on July 1, 2026.

On July 1, 2026, Zendesk fully removed legacy custom objects. Calls to /api/sunshine/relationships/* fail since that day. This follows a restriction from January 15, 2026, after which users could no longer create new legacy custom objects or relationships.

## What to use instead

Migrate to custom objects with lookup relationship fields (/api/v2/custom_objects/*). Moving to the new custom objects takes more than changing an endpoint, as it requires migrating the account's relationship types and records.

Moving to the new custom objects means migrating the account's relationship types and records.

- API: Zendesk API (*.zendesk.com)
- Kind: Removal
- Announced: July 7, 2025
- Takes effect: July 1, 2026
- Calls after that day: fail
- Calls it hits: `/api/sunshine/relationships/*`
- Source: [Announcement](https://developer.zendesk.com/api-reference/changelog/changelog/)
- Verified: November 6, 2026, against Zendesk API's own pages
- Page: https://www.okapi.bot/providers/zendesk-api/breaking-changes/the-legacy-custom-objects-relationships-api-stops-working/

## Zendesk API's words

> Starting January 15, 2026, you will no longer be able to create new legacy custom objects or relationships. Zendesk will fully remove legacy custom objects in July 2026.

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