# Saving Data List from API

**URL:** <https://forum.bubble.io/t/saving-data-list-from-api/250754>\
**Category:** Database\
**Created:** [March 8, 2023, 5:46pm UTC](https://forum.bubble.io/t/saving-data-list-from-api/250754 "2023-03-08T17:46:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![luciano1](https://avatars.discourse-cdn.com/v4/letter/l/3ec8ea/32.png) [@luciano1](https://forum.bubble.io/u/luciano1)\
**Post date:** [March 8, 2023, 5:46pm UTC](https://forum.bubble.io/t/saving-data-list-from-api/250754/1 "2023-03-08T17:46:47Z")

</div>

Hi.  
I’m a beginner in Bubble and I have a doubt how to save a list in database.

First:

1. An API returns simple fields and data list fields according to the image (it’s a data base for people (name, birthday, social number, zodiac, etc) but each person has many phone numbers and also many emails) :

 ![phones](https://us1.discourse-cdn.com/bubble/original/3X/4/e/4e3acd3d636177639f20fd28e9729cd4d5dbf551.png)  
 ![apidata](https://us1.discourse-cdn.com/bubble/original/3X/8/9/89db9615b89e7dbf6e5e4afd505109c052bf8da5.jpeg)

Saving the first fields (the basic ones, example name, brithday, are ok) I can choose each one for each specific field in the data type “person” let’s say.

My question is, how can I save each item from the list (many phones)?

1. Should I create a new data type (table) for the phones?
2. How can I correlate these phones to the original document?
3. How can I save these phones?

---

<div class="post-metadata">

**Author:** ![dogeisler](https://avatars.discourse-cdn.com/v4/letter/d/0ea827/32.png) [@dogeisler](https://forum.bubble.io/u/dogeisler)\
**Post date:** [September 12, 2023, 2:06am UTC](https://forum.bubble.io/t/saving-data-list-from-api/250754/2 "2023-09-12T02:06:32Z")

</div>

Hi, Luciano did you figure out how to do this? I have the same issue.

---

<div class="post-metadata">

**Author:** ![luciano1](https://avatars.discourse-cdn.com/v4/letter/l/3ec8ea/32.png) [@luciano1](https://forum.bubble.io/u/luciano1)\
**Post date:** [September 12, 2023, 3:11pm UTC](https://forum.bubble.io/t/saving-data-list-from-api/250754/3 "2023-09-12T15:11:33Z")

</div>

Yes. When you create the thing, you just insert (set list) operator. It means it will always change the old list to a new one when make changes to the data.

 ![setlist](https://us1.discourse-cdn.com/bubble/original/3X/4/5/453bbdb010f0059108e87a4faf765e059fa0937e.png)
