# Fetch Custom Type JSON structure

**URL:** <https://community.prismic.io/t/fetch-custom-type-json-structure/2067>\
**Category:** Developing with Prismic\
**Tags:** rest-api\
**Created:** [September 29, 2020, 5:05pm UTC](https://community.prismic.io/t/fetch-custom-type-json-structure/2067 "2020-09-29T17:05:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![apozyniuk](https://avatars.discourse-cdn.com/v4/letter/a/4bbf92/32.png) [@apozyniuk](https://community.prismic.io/u/apozyniuk)\
**Post date:** [September 29, 2020, 5:05pm UTC](https://community.prismic.io/t/fetch-custom-type-json-structure/2067/1 "2020-09-29T17:05:21Z")

</div>

Question about do I have the ability to fetch custom type JSON structure and set it to another repo for example?

I have 2 repos 1st - Dev, 2ed-pro and I wont write script on deploy to prod sync my custom types )) I'm to lazy make it manually

---

<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:** [September 30, 2020, 3:41pm UTC](https://community.prismic.io/t/fetch-custom-type-json-structure/2067/5 "2020-09-30T15:41:33Z")

</div>

Hi Andrew,

If you're talking about an out and out Custom Type API, then no, we don't currently have this.

We offer an Environment feature for enterprise clients that copies Custom Types and Content across dev and prod environments like you described:

> **[Environments](https://user-guides.prismic.io/en/articles/1914570-environments)**
>
> How to use a development environment for your Prismic production repository to safely iterate on your custom types

We are working on something on the Slice Level, in **BETA** for Slicemachine users, that will allow you to pull your Slice Models through an API to local Slices that have been created with the Slice Machine `--create-slice` Command. Eventually there will be something that serves as a push command too.

Though all of this is for working out of the same repo for now.

> **[Slice Machine](https://www.slicemachine.dev/documentation/nuxt/route-resolver/)**
>
> Devs make the parts, users make the websites.

Let me know if you have any further questions.

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:** [October 7, 2020, 10:10am UTC](https://community.prismic.io/t/fetch-custom-type-json-structure/2067/6 "2020-10-07T10:10:53Z")

</div>

This issue has been closed due to inactivity. [Flag to reopen](https://community.prismic.io/t/re-open-a-thread/2175).

---

<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, 5:39pm UTC](https://community.prismic.io/t/fetch-custom-type-json-structure/2067/7 "2021-12-09T17:39:49Z")

</div>


