# API version v1 stops working

Calls to /api/v1/* on Klaviyo API stopped working on July 1, 2024.

On July 1, 2024, API version v1 was retired. This change affects all /api/v1/* calls. Requests made after that day fail and return a 410 GONE error code.

## What to use instead

Move to the date-versioned APIs, such as GET /api/metrics and GET /api/profiles, using a revision header, and consult the API comparison chart.

- API: Klaviyo API (a.klaviyo.com)
- Kind: Version retirement
- Takes effect: July 1, 2024
- Calls after that day: fail
- Calls it hits: `/api/v1/*`
- Source: [Announcement](https://developers.klaviyo.com/en/v2024-10-15/docs/migration_faq_v1v2_api_retirement)
- Verified: November 6, 2026, against Klaviyo API's own pages
- Page: https://www.okapi.bot/providers/klaviyo-api/breaking-changes/api-version-v1-stops-working/

## Klaviyo API's words

> v1/v2 API calls made on July 1, 2024 will return a 410 GONE error code.

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