# API Questions

**URL:** https://community.kinsta.com/c/kinsta-api/kinsta-api-questions/27.md

[Latest](https://community.kinsta.com/latest.md) · [Categories](https://community.kinsta.com/categories.md)

---

## [About the API Questions category](https://community.kinsta.com/t/about-the-api-questions-category/2429)

<div class="topic-metadata">

**Author:** [@jeff](https://community.kinsta.com/u/jeff)\
**Replies:** 0

</div>

Have a question about Kinsta’s REST API? Look no further! In this subcategory, you can ask your queries, seek guidance, and get help from our knowledgeable community members.

---

## [API endpoint to refresh WordPress plugin and core data](https://community.kinsta.com/t/api-endpoint-to-refresh-wordpress-plugin-and-core-data/7282)

<div class="topic-metadata">

**Author:** [@J-Langdon](https://community.kinsta.com/u/J-Langdon)\
**Replies:** 4\
**Last updated:** [September 19, 2026, 5:19am UTC](https://community.kinsta.com/t/api-endpoint-to-refresh-wordpress-plugin-and-core-data/7282 "2026-09-19T05:19:51Z")

</div>

Hello Kinsta. We’ve built an external tool (hosted on Sevalla) that pulls WordPress core and plugin data from the Kinsta API. However, the data shown in MyKinsta can take up to 12 hours to refresh, which makes it diffic…

---

## [Bot Protection API](https://community.kinsta.com/t/bot-protection-api/7283)

<div class="topic-metadata">

**Author:** [@J-Langdon](https://community.kinsta.com/u/J-Langdon)\
**Replies:** 1\
**Last updated:** [July 28, 2026, 9:29pm UTC](https://community.kinsta.com/t/bot-protection-api/7283 "2026-07-28T21:29:20Z")

</div>

Hi Kinsta. Great work on the new Bot Protection feature. We’d love to start using it across our fleet of sites. Are there any plans to expose Bot Protection through the Kinsta API? We manage a large number of WordPres…

---

## [Scoped API-keys](https://community.kinsta.com/t/scoped-api-keys/6404)

<div class="topic-metadata">

**Author:** [@Oskar\_Scholdstrom](https://community.kinsta.com/u/Oskar_Scholdstrom)\
**Replies:** 1\
**Last updated:** [June 3, 2026, 10:45pm UTC](https://community.kinsta.com/t/scoped-api-keys/6404 "2026-06-03T22:45:16Z")

</div>

Right now the REST API (and the MCP) isn’t really usable for us because keys can’t be scoped. To do something as harmless as pull analytics for an automated monthly report, I have to hand out a key that can also delete s…

---

## [Where to add feature requests for the API?](https://community.kinsta.com/t/where-to-add-feature-requests-for-the-api/2534)

<div class="topic-metadata">

**Author:** [@TouchdownTech](https://community.kinsta.com/u/TouchdownTech)\
**Replies:** 25\
**Last updated:** [January 22, 2026, 9:50pm UTC](https://community.kinsta.com/t/where-to-add-feature-requests-for-the-api/2534 "2026-01-22T21:50:52Z")

</div>

Hey, I was curious where I can submit feature requests? I’d primarily use the API for managing site backups. Is that on the table?

---

## [Changing PHP allocation settings via API](https://community.kinsta.com/t/changing-php-allocation-settings-via-api/5419)

<div class="topic-metadata">

**Author:** [@edjeavons](https://community.kinsta.com/u/edjeavons)\
**Replies:** 4\
**Last updated:** [August 28, 2025, 12:33am UTC](https://community.kinsta.com/t/changing-php-allocation-settings-via-api/5419 "2025-08-28T00:33:40Z")

</div>

Hi Please may you verify that the /v2/sites/{site\_id}/change-site-php-allocation API endpoint is working as documented? When I send the following request I get a good 202 response with an operation\_id in its body: POS…

---

## [Ajay Hinduja Geneva : Are there open-source travel APIs available for flight and hotel data?](https://community.kinsta.com/t/ajay-hinduja-geneva-are-there-open-source-travel-apis-available-for-flight-and-hotel-data/5129)

<div class="topic-metadata">

**Author:** [@ajayhinduja25](https://community.kinsta.com/u/ajayhinduja25)\
**Replies:** 1\
**Last updated:** [June 2, 2025, 2:41pm UTC](https://community.kinsta.com/t/ajay-hinduja-geneva-are-there-open-source-travel-apis-available-for-flight-and-hotel-data/5129 "2025-06-02T14:41:35Z")

</div>

Hi everyone, I’m Ajay Hinduja from Geneva, Switzerland, looking for open-source travel APIs that provide flight and hotel data. Could you please share your suggestions or recommendations on: Regards Ajay Hinduja Gene…

---

## [Ajay Hinduja Geneva, Switzerland : How to Connect a Travel API to Kinsta-Hosted WordPress Site?](https://community.kinsta.com/t/ajay-hinduja-geneva-switzerland-how-to-connect-a-travel-api-to-kinsta-hosted-wordpress-site/5120)

<div class="topic-metadata">

**Author:** [@ajayhinduja25](https://community.kinsta.com/u/ajayhinduja25)\
**Replies:** 1\
**Last updated:** [May 29, 2025, 12:44pm UTC](https://community.kinsta.com/t/ajay-hinduja-geneva-switzerland-how-to-connect-a-travel-api-to-kinsta-hosted-wordpress-site/5120 "2025-05-29T12:44:00Z")

</div>

Hi Everyone, I’m Ajay Hinduja from Geneva, Switzerland, a professional traveler with a deep passion for staying updated on the latest tech trends. I’m looking to integrate a travel API I’d like to know the best way to g…

---

## [Read user roles with API](https://community.kinsta.com/t/read-user-roles-with-api/5030)

<div class="topic-metadata">

**Author:** [@jbielbushel](https://community.kinsta.com/u/jbielbushel)\
**Replies:** 3\
**Last updated:** [April 29, 2025, 6:37am UTC](https://community.kinsta.com/t/read-user-roles-with-api/5030 "2025-04-29T06:37:38Z")

</div>

I’m working on a script to pull user information from all of our vendors. It looks like Kinsta has an API to list users, but I don’t see a way to view roles for those users. Am I missing something? I see that the portal …

---

## [Semantics of plugin and theme response fields](https://community.kinsta.com/t/semantics-of-plugin-and-theme-response-fields/4773)

<div class="topic-metadata">

**Author:** [@jacobshu](https://community.kinsta.com/u/jacobshu)\
**Replies:** 3\
**Last updated:** [February 14, 2025, 2:44am UTC](https://community.kinsta.com/t/semantics-of-plugin-and-theme-response-fields/4773 "2025-02-14T02:44:09Z")

</div>

Could I get some clarity on the behavior of some of the plugin and theme fields? The 200 responses for the endpoints /v2/sites/environments/{env\_id}/themes and /v2/sites/environments/{env\_id}/plugins include the fields: …

---

## [Managing redirects](https://community.kinsta.com/t/managing-redirects/4276)

<div class="topic-metadata">

**Author:** [@ArjanSowmedia](https://community.kinsta.com/u/ArjanSowmedia)\
**Replies:** 2\
**Last updated:** [January 13, 2025, 7:16am UTC](https://community.kinsta.com/t/managing-redirects/4276 "2025-01-13T07:16:52Z")

</div>

Hi! We would love to see redirect management through the api. It would allow us to link up the Redirection OR Yoast plugin to Kinsta; reducing load on the server and gives us the ability to redirect static assets (css/…

---

## [Best Practices for Handling Rate Limit Errors with Kinsta's API](https://community.kinsta.com/t/best-practices-for-handling-rate-limit-errors-with-kinstas-api/3602)

<div class="topic-metadata">

**Author:** [@nolanmaris](https://community.kinsta.com/u/nolanmaris)\
**Replies:** 3\
**Last updated:** [July 21, 2024, 12:21am UTC](https://community.kinsta.com/t/best-practices-for-handling-rate-limit-errors-with-kinstas-api/3602 "2024-07-21T00:21:22Z")

</div>

Hi everyone, I am working with Kinsta’s REST API and faced some rate limit errors. To ensure my application handles these errors efficiently, I need best practices for managing rate limits. How can I programmatically …

---

## [Wordpres access through API](https://community.kinsta.com/t/wordpres-access-through-api/3223)

<div class="topic-metadata">

**Author:** [@raul.uriarte](https://community.kinsta.com/u/raul.uriarte)\
**Replies:** 1\
**Last updated:** [March 29, 2024, 12:33am UTC](https://community.kinsta.com/t/wordpres-access-through-api/3223 "2024-03-29T00:33:11Z")

</div>

Hi, I am new to Kinsta community and need some orientation on how to properly update a Wordpress site through the API. We developed a script to update a page and create a post on our site using regular Wordpress API and…

---

## [Is it possible to provide the data from myKinsta’s CSV export via the API?Plan usage distribution in Analytics via the API.](https://community.kinsta.com/t/is-it-possible-to-provide-the-data-from-mykinsta-s-csv-export-via-the-api-plan-usage-distribution-in-analytics-via-the-api/3666)

<div class="topic-metadata">

**Author:** [@jukebox](https://community.kinsta.com/u/jukebox)\
**Replies:** 1\
**Last updated:** [July 1, 2024, 9:44pm UTC](https://community.kinsta.com/t/is-it-possible-to-provide-the-data-from-mykinsta-s-csv-export-via-the-api-plan-usage-distribution-in-analytics-via-the-api/3666 "2024-07-01T21:44:19Z")

</div>

I want to access the data from myKinsta’s CSV exports via the API. Is there any plan to provide this through the API? I recall seeing this mentioned in an older topic. Could you provide a rough timeline for when this mig…

---

## [Why I am getting this error?](https://community.kinsta.com/t/why-i-am-getting-this-error/3604)

<div class="topic-metadata">

**Author:** [@nolanmaris](https://community.kinsta.com/u/nolanmaris)\
**Replies:** 1\
**Last updated:** [June 18, 2024, 9:55pm UTC](https://community.kinsta.com/t/why-i-am-getting-this-error/3604 "2024-06-18T21:55:15Z")

</div>

Hello I recently posted a query on this forum, But now it is showing this error- “Our automated spam filter, Akismet , has temporarily hidden your post in Best Practices for Handling Rate Limit Errors with Kinsta’s API …

---

## [Disabling 'Remove Set-Cookie Header' through API](https://community.kinsta.com/t/disabling-remove-set-cookie-header-through-api/3446)

<div class="topic-metadata">

**Author:** [@Shay\_O](https://community.kinsta.com/u/Shay_O)\
**Replies:** 1\
**Last updated:** [May 22, 2024, 9:55pm UTC](https://community.kinsta.com/t/disabling-remove-set-cookie-header-through-api/3446 "2024-05-22T21:55:11Z")

</div>

Hi, While trying to automate creation of new WordPress websites through pipeline, I’ve encountered that Disabling the option to Remove Set-Cookie header isn’t available in any other way other than doing so manually. Re…

---

## [Clear cache for specific URL path](https://community.kinsta.com/t/clear-cache-for-specific-url-path/2479)

<div class="topic-metadata">

**Author:** [@jorisbueter](https://community.kinsta.com/u/jorisbueter)\
**Replies:** 1\
**Last updated:** [August 28, 2023, 3:03pm UTC](https://community.kinsta.com/t/clear-cache-for-specific-url-path/2479 "2023-08-28T15:03:42Z")

</div>

Hi, With the API, it is possible to clear the cache of an entire site. Also, with /kinsta-clear-cache/ and /kinsta-clear-mobile-cache/ it is possible to clear the cache for specific pages. However, so far, it does not …
