# How can I create/update/delete documents via API?

**URL:** <https://community.prismic.io/t/how-can-i-create-update-delete-documents-via-api/6109>\
**Category:** Developing with Prismic\
**Tags:** rest-api\
**Created:** [July 5, 2021, 3:39pm UTC](https://community.prismic.io/t/how-can-i-create-update-delete-documents-via-api/6109 "2021-07-05T15:39:48Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![mmuradlink](https://avatars.discourse-cdn.com/v4/letter/m/f17d59/32.png) [@mmuradlink](https://community.prismic.io/u/mmuradlink)\
**Post date:** [July 5, 2021, 3:39pm UTC](https://community.prismic.io/t/how-can-i-create-update-delete-documents-via-api/6109/1 "2021-07-05T15:39:48Z")

</div>

Hi everyone,  
Is there any possibility to create, update or delete documents via the REST API? Unfortunately, I didn't find any POST requests in the documentation. The Write API also looks inconvenient in order to implement it into an existing system. As I understand it, integration fields create custom-types, but it does not work with documents.

Thanks!

---

<div class="post-metadata">

**Author:** ![Phil](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/phil/32/14_2.png) [@Phil](https://community.prismic.io/u/Phil)\
**Post date:** [July 5, 2021, 4:31pm UTC](https://community.prismic.io/t/how-can-i-create-update-delete-documents-via-api/6109/2 "2021-07-05T16:31:53Z")

</div>

Hi Myrat,

We currently don't offer an API to create, update or delete documents. We have previously discussed this here:

> [@Write API - Save data to Prismic from your appc](https://community.prismic.io/t/write-api-save-data-to-prismic-from-your-app/283):
>
> For a lot of projects that require a CMS to manage content, Prismic has been fantastic but every time we have to build features like comments, or feedback from users, Prismic becomes useless as we can't write back to Prismic. So, in the end, we end up doing project using Firebase and build out a custom CMS panel which takes a lot of time. If only Prismic could have a write API that would make Prismic a must for a lot of projects.

At the minute we only have a Custom Types API and integration fields. 'Integration fields' is in fact for integrating Product Catalogues from a 3rd party service like Shopify for your content creators to add to a document within Prismic.

We are evaluating each use case as they come so that we can provide the best solution for each one.

Thanks,  
Phil.

---

<div class="post-metadata">

**Author:** ![mmuradlink](https://avatars.discourse-cdn.com/v4/letter/m/f17d59/32.png) [@mmuradlink](https://community.prismic.io/u/mmuradlink)\
**Post date:** [July 5, 2021, 5:37pm UTC](https://community.prismic.io/t/how-can-i-create-update-delete-documents-via-api/6109/4 "2021-07-05T17:37:28Z")

</div>

Thank you for your answer!

---

<div class="post-metadata">

**Author:** ![Phil](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/phil/32/14_2.png) [@Phil](https://community.prismic.io/u/Phil)\
**Post date:** [July 6, 2021, 9:20am UTC](https://community.prismic.io/t/how-can-i-create-update-delete-documents-via-api/6109/5 "2021-07-06T09:20:09Z")

</div>

This is being tracked as an open feature request.

If you have another use-case for this feature, you can ['Flag' this topic to reopen](https://community.prismic.io/t/re-open-a-thread/2175). Please use the ❤ button to show your support for the feature and check out our [Feature Request Guidelines](https://community.prismic.io/t/feature-requests-what-do-you-already-love-what-could-be-better/844).

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/system/32/1746_2.png) [@system](https://community.prismic.io/u/system)\
**Post date:** [December 9, 2021, 3:37pm UTC](https://community.prismic.io/t/how-can-i-create-update-delete-documents-via-api/6109/6 "2021-12-09T15:37:30Z")

</div>



---

<div class="post-metadata">

**Author:** ![eddyvinck95](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/eddyvinck95/32/3607_2.png) [@eddyvinck95](https://community.prismic.io/u/eddyvinck95)\
**Post date:** [October 20, 2022, 6:05pm UTC](https://community.prismic.io/t/how-can-i-create-update-delete-documents-via-api/6109/7 "2022-10-20T18:05:10Z")

</div>

Hello, is it still the case that there is no write API?

If so, please add my name to the list of people that would really like to have this feature.

I really like using Prismic as my headless CMS, and it would be a shame if I couldn't use it for a project because of the lack of API support for creating documents programmatically.

---

<div class="post-metadata">

**Author:** ![Pau](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/pau/32/5422_2.png) [@Pau](https://community.prismic.io/u/Pau)\
**Post date:** [October 20, 2022, 11:05pm UTC](https://community.prismic.io/t/how-can-i-create-update-delete-documents-via-api/6109/8 "2022-10-20T23:05:56Z")

</div>

Hello @eddyvinck95, that's correct. This is still the case. We have no plans of adding a Write API to Prismic.

---

<div class="post-metadata">

**Author:** ![george1](https://avatars.discourse-cdn.com/v4/letter/g/9e8a1a/32.png) [@george1](https://community.prismic.io/u/george1)\
**Post date:** [January 28, 2023, 12:51am UTC](https://community.prismic.io/t/how-can-i-create-update-delete-documents-via-api/6109/11 "2023-01-28T00:51:22Z")

</div>

If there's no way to "push" content into Prismic, is there a way to "pull" it in? I thought I'd seen a reference to a custom integration field for an external API - is this the case?

---

<div class="post-metadata">

**Author:** ![Priyanka](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/priyanka/32/3223_2.png) [@Priyanka](https://community.prismic.io/u/Priyanka)\
**Post date:** [January 30, 2023, 10:00am UTC](https://community.prismic.io/t/how-can-i-create-update-delete-documents-via-api/6109/13 "2023-01-30T10:00:15Z")

</div>

Hello @george1

Welcome to the Prismic community, and thanks for reaching out to us.

With the Integration field, you can Push data from a custom Write API. Integration Fields has a write API that allows you to push data to Prismic so you can create, modify, or delete catalog items via a dedicated endpoint.

Learn more about the Integration field in this article: [Set up Integration Fields - Documentation - Prismic](https://prismic.io/docs/integration-fields-setup)

Thanks,  
Priyanka

---

<div class="post-metadata">

**Author:** ![alaina.koerber](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/alaina.koerber/32/6364_2.png) [@alaina.koerber](https://community.prismic.io/u/alaina.koerber)\
**Post date:** [September 21, 2023, 1:02pm UTC](https://community.prismic.io/t/how-can-i-create-update-delete-documents-via-api/6109/15 "2023-09-21T13:02:10Z")

</div>

Hey there!

I'm Alaina, a Product Manager at Prismic, and I want to share some exciting news: We've launched our Migration API in Beta!

**What is the Migration API?**  
It's our way of addressing the content migration challenges you've shared with us.  
While it's still in its early stages, it already offers:

- A programmatic approach to creating and updating documents
- Clear validations and precise error messaging for a smoother migration

Although the Migration API is not designed to encompass all Write API use cases, it provides a strong foundation for accommodating more diverse content management needs in the future.

If you want to test out the Migration API, share your experiences, and actively shape its future, sign up for our Beta waitlist!  
**[👉 Join the Waitlist](https://forms.gle/WK5ENaQczYALPmxN9)**

Your insights have been invaluable so far, and we can't wait to see where this collaboration takes us!  
Best regards, Alaina
