# Visual editor is using V2 API instead of V3

**URL:** <https://forum.builder.io/t/visual-editor-is-using-v2-api-instead-of-v3/3933>\
**Category:** Visual Editor Help\
**Tags:** visual-editor, api\
**Created:** [July 24, 2023, 2:56pm UTC](https://forum.builder.io/t/visual-editor-is-using-v2-api-instead-of-v3/3933 "2023-07-24T14:56:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Valguss2001](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.builder.io/valguss2001/32/2730_2.png) [@Valguss2001](https://forum.builder.io/u/Valguss2001)\
**Post date:** [July 24, 2023, 2:56pm UTC](https://forum.builder.io/t/visual-editor-is-using-v2-api-instead-of-v3/3933/1 "2023-07-24T14:56:16Z")

</div>

_Please fill out as many of the following questions as possible so we can help you promptly! If you don’t know how to answer or it does not apply, feel free to remove it or leave it blank._

**Builder content link**

> **[Builder.io: Drag & Drop Headless CMS](https://builder.io/content/800b2502d4d748868dd3e8688d8a1001)**
>
> Drag and drop with your components, right within your existing site or app. Build and optimize digital experiences for any tech stack, visually..

**Builder public api key**  
5d0546160e954b87b82e2663451afcb1

**What are you trying to accomplish**  
I’m trying to use the “Connect Data” feature to auto-add blog articles to my homepage, which is all working apart from the sort. I’ve set a sort field but it looks like the app is using the V2 API instead of the V3 API:

[https://cdn.builder.io/api/v2/content/blog-article?apiKey=5d0546160e954b87b82e2663451afcb1&includeRefs=true&fields=data&sort.data.date=-1&limit=4&omit=data.blocks](https://cdn.builder.io/api/v2/content/blog-article?apiKey=5d0546160e954b87b82e2663451afcb1&includeRefs=true&fields=data&sort.data.date=-1&limit=4&omit=data.blocks)

IF I use the V3 API URL then the sorting works and “Digital Marketing” is first in the list:  
[https://cdn.builder.io/api/v3/content/blog-article?apiKey=5d0546160e954b87b82e2663451afcb1&includeRefs=true&fields=data&sort.data.date=-1&limit=4&omit=data.blocks](https://cdn.builder.io/api/v3/content/blog-article?apiKey=5d0546160e954b87b82e2663451afcb1&includeRefs=true&fields=data&sort.data.date=-1&limit=4&omit=data.blocks)

It feels like there’s an option I need to toggle somewhere but I haven’t found it

Tom

 ![Screenshot at Jul 24 15-54-43](https://us1.discourse-cdn.com/flex020/uploads/builder/original/2X/2/2573409c715d6429795c2fb7b9e6df1764689460.jpeg)

---

<div class="post-metadata">

**Author:** ![anon43891756](https://avatars.discourse-cdn.com/v4/letter/a/50afbb/32.png) [@anon43891756](https://forum.builder.io/u/anon43891756)\
**Post date:** [July 25, 2023, 10:16am UTC](https://forum.builder.io/t/visual-editor-is-using-v2-api-instead-of-v3/3933/2 "2023-07-25T10:16:23Z")

</div>

Hi @Valguss2001, We have moved your app(5d0546160e954b87b82e2663451afcb1) to V3. Now it should redirect to V3 automatically. Please check and let us know if you’ve further questions!

---

<div class="post-metadata">

**Author:** ![Valguss2001](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.builder.io/valguss2001/32/2730_2.png) [@Valguss2001](https://forum.builder.io/u/Valguss2001)\
**Post date:** [July 25, 2023, 10:30am UTC](https://forum.builder.io/t/visual-editor-is-using-v2-api-instead-of-v3/3933/3 "2023-07-25T10:30:10Z")

</div>

That’s got it. Thanks
