# Update static collection without manual sync

**URL:** https://community.weweb.io/t/update-static-collection-without-manual-sync/7914
**Category:** Developer corner
**Tags:** collection-page, static-collections
**Created:** [April 3, 2024, 11:08am UTC](https://community.weweb.io/t/update-static-collection-without-manual-sync/7914 "2024-04-03T11:08:37Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Manjusha](https://avatars.discourse-cdn.com/v4/letter/m/a183cd/32.png) [@Manjusha](https://community.weweb.io/u/Manjusha)
#### Post date: [April 3, 2024, 11:08am UTC](https://community.weweb.io/t/update-static-collection-without-manual-sync/7914/1 "2024-04-03T11:08:37Z")

</div>

HI,  
I want to update collection page data created with static collection. Is there any way to update static collection pages without manual sync?

---

<div class="post-metadata">

### Author: ![Broberto](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/broberto/32/5918_2.png) [@Broberto](https://community.weweb.io/u/Broberto)
#### Post date: [April 3, 2024, 12:36pm UTC](https://community.weweb.io/t/update-static-collection-without-manual-sync/7914/2 "2024-04-03T12:36:05Z")

</div>

I know there was a method by calling some sort of WeWeb’s API to “republish” your page, but I haven’t heard about it for quite a while, I think you should consider using dynamic collections with the WeWeb’s metadata API. Otherwise you’ll have to republish the project every time, or try to look around for the workaround, but I haven’t heard about it for quite a while.

---

<div class="post-metadata">

### Author: ![Manjusha](https://avatars.discourse-cdn.com/v4/letter/m/a183cd/32.png) [@Manjusha](https://community.weweb.io/u/Manjusha)
#### Post date: [April 4, 2024, 5:11am UTC](https://community.weweb.io/t/update-static-collection-without-manual-sync/7914/3 "2024-04-04T05:11:46Z")

</div>

Can you guide us more on “Republish API”? we want to use static collection only as it is giving better SEO

---

<div class="post-metadata">

### Author: ![Alexis](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/alexis/32/13248_2.png) [@Alexis](https://community.weweb.io/u/Alexis)
#### Post date: [April 4, 2024, 10:51am UTC](https://community.weweb.io/t/update-static-collection-without-manual-sync/7914/4 "2024-04-04T10:51:27Z")

</div>

Hi, you find more information here =\> [How to use WeWeb Server API | WeWeb documentation](https://docs.weweb.io/settings-billing-code-export/code-export-api.html#start-the-publication-of-a-project)

---

<div class="post-metadata">

### Author: ![Manjusha](https://avatars.discourse-cdn.com/v4/letter/m/a183cd/32.png) [@Manjusha](https://community.weweb.io/u/Manjusha)
#### Post date: [April 8, 2024, 9:11am UTC](https://community.weweb.io/t/update-static-collection-without-manual-sync/7914/5 "2024-04-08T09:11:32Z")

</div>

Hi  
In this documentation request body for " Start the publication of a project" API not given. Can you provide request body also?

---

<div class="post-metadata">

### Author: ![Alexis](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/alexis/32/13248_2.png) [@Alexis](https://community.weweb.io/u/Alexis)
#### Post date: [April 8, 2024, 9:24am UTC](https://community.weweb.io/t/update-static-collection-without-manual-sync/7914/6 "2024-04-08T09:24:02Z")

</div>

I think its what is described as `Data`, you only have the key `env` available, so the body payload should look like

```auto
{
  env: 'staging'
}
// or
{
  env: 'production'
}

```
