# /api/track stops working

Calls to /api/track on Klaviyo API stopped working on June 30, 2024.

On June 30, 2024, the /api/track endpoint was removed as part of the retirement of the legacy APIs. Calls sent to this endpoint now fail. Any integrations still directing traffic to /api/track must be updated to avoid broken event tracking.

## What to use instead

Send events using POST /api/events for server-side requests with a private key, or use POST /client/events with a public key.

- API: Klaviyo API (a.klaviyo.com)
- Kind: Endpoint removal
- Takes effect: June 30, 2024
- Calls after that day: fail
- Calls it hits: `/api/track`
- Source: [Announcement](https://developers.klaviyo.com/en/v2024-10-15/docs/migrate-track-identify-and-subscribe-to-our-new-apis)
- Verified: November 6, 2026, against Klaviyo API's own pages
- Page: https://www.okapi.bot/providers/klaviyo-api/breaking-changes/api-track-stops-working/

## Klaviyo API's words

> v1/v2 legacy APIs retired on June 30, 2024.

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