# GET /v2/sites/environments/{}/themes is deprecated

Kinsta API deprecated GET /v2/sites/environments/{id}/themes without giving a shutdown date yet.

Kinsta API has deprecated the GET /v2/sites/environments/{id}/themes endpoint without a shutdown date. Calls made to this route are planned for removal and will eventually fail. Kinsta API notes that this endpoint is deprecated.

## What to use instead

List themes with GET /v2/sites/environments/{env_id}/wp-themes instead.

- API: Kinsta API (api.kinsta.com)
- Kind: Endpoint removal
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `GET /v2/sites/environments/{id}/themes`
- Source: [Announcement](https://api-docs.kinsta.com/assets/kinsta-openapi.yaml)
- Verified: November 6, 2026, against Kinsta API's own pages
- Page: https://www.okapi.bot/providers/kinsta-api/breaking-changes/get-v2-sites-environments-themes-is-deprecated/

## Kinsta API's words

> This endpoint is deprecated. Please use

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