Can i Update my webflow website content with Api?

I want to update my webflow website content with API using postman.
but i am getting this error
message": “Bad Request: Request is malformed: The provided locale must be a secondary locale.”,
But i have a primary locale and i want to update content in primary locale only.
can anyone help me with this ?

1 Like

Well, it looks like you are running into an issue with the locale configuration in your Webflow API request. The error message suggests that Webflow expects a secondary locale to be included when updating content. Eeven if you are working with the primary locale.

To resolve this, make sure to include the secondary locale parameter in your request. You can either set up a secondary locale in your Webflow settings or adjust your API request to meet Webflow’s locale requirements.

Hey @abhay136 - unfortunately, this isn’t possible right now with the Data APIs. Today, the Update Page Content API is purely for secondary locale content. However, we’re aware of the request to update primary locale content on static pages programatically. While there aren’t any timelines or plans to share, feel free to follow along with our Changelog for the latest on API updates.