# API to insert nested fields (many to many) \[May 20\]

**URL:** <https://community.nocodb.com/t/api-to-insert-nested-fields-many-to-many-may-20/475>\
**Category:** Discord-Discussions\
**Created:** [November 3, 2022, 9:51am UTC](https://community.nocodb.com/t/api-to-insert-nested-fields-many-to-many-may-20/475 "2022-11-03T09:51:02Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![NocoDB](https://avatars.discourse-cdn.com/v4/letter/n/6f9a4e/32.png) [@NocoDB](https://community.nocodb.com/u/NocoDB)\
**Post date:** [November 3, 2022, 9:51am UTC](https://community.nocodb.com/t/api-to-insert-nested-fields-many-to-many-may-20/475/1 "2022-11-03T09:51:02Z")

</div>

> 🙋‍♂️ **Nils** _asked_

## TL;DR: Is it possible to add row where a column is a `LinkToAnotherRecord` (many to many) via the REST API? I’m not seeing this in the API docs.

#### 

#### Context: I want to store my emails in NocoDB. Therefor I have a “Emails” table and a “EmailAddress” table. In the Emails table I have a column called “Receiver”. Because it’s possible that you sent an email to multiple people, the Receiver column needs to able to store 1 or more emails. Therefore, I think to use the `LinkToAnotherRecord` property would be a good choice.

---

<div class="post-metadata">

**Author:** ![NocoDB](https://avatars.discourse-cdn.com/v4/letter/n/6f9a4e/32.png) [@NocoDB](https://community.nocodb.com/u/NocoDB)\
**Post date:** [November 3, 2022, 9:51am UTC](https://community.nocodb.com/t/api-to-insert-nested-fields-many-to-many-may-20/475/2 "2022-11-03T09:51:03Z")

</div>

> 💁 **o1lab** _replied_

#### Not at the moment. It will have to be done individually. However, this is something we will introrduce going forward

#

---

<div class="post-metadata">

**Author:** ![NocoDB](https://avatars.discourse-cdn.com/v4/letter/n/6f9a4e/32.png) [@NocoDB](https://community.nocodb.com/u/NocoDB)\
**Post date:** [November 3, 2022, 9:51am UTC](https://community.nocodb.com/t/api-to-insert-nested-fields-many-to-many-may-20/475/3 "2022-11-03T09:51:05Z")

</div>

> 🙋‍♂️ **Nils** _replied_

#### Is there a tracking ticket for this?

#

---

<div class="post-metadata">

**Author:** ![NocoDB](https://avatars.discourse-cdn.com/v4/letter/n/6f9a4e/32.png) [@NocoDB](https://community.nocodb.com/u/NocoDB)\
**Post date:** [November 3, 2022, 9:51am UTC](https://community.nocodb.com/t/api-to-insert-nested-fields-many-to-many-may-20/475/4 "2022-11-03T09:51:06Z")

</div>

> 💁 **o1lab** _replied_

#### just raised : [Feature : API to do nested insert · Issue #2034 · nocodb/nocodb · GitHub](https://github.com/nocodb/nocodb/issues/2034)

#

---

<div class="post-metadata">

**Author:** ![NocoDB](https://avatars.discourse-cdn.com/v4/letter/n/6f9a4e/32.png) [@NocoDB](https://community.nocodb.com/u/NocoDB)\
**Post date:** [November 3, 2022, 9:51am UTC](https://community.nocodb.com/t/api-to-insert-nested-fields-many-to-many-may-20/475/5 "2022-11-03T09:51:07Z")

</div>

> 💁 **o1lab** _replied_

#### pls feel free to raise issue you feel are necessary

#

---

<div class="post-metadata">

**Author:** ![NocoDB](https://avatars.discourse-cdn.com/v4/letter/n/6f9a4e/32.png) [@NocoDB](https://community.nocodb.com/u/NocoDB)\
**Post date:** [November 3, 2022, 9:51am UTC](https://community.nocodb.com/t/api-to-insert-nested-fields-many-to-many-may-20/475/6 "2022-11-03T09:51:08Z")

</div>

[Autogenerated from discord](https://discord.com/channels/661905455894888490/968862847197138954)

* * *

#### Join [NocoDB’s](http://www.nocodb.com/) community

[Discord](https://discord.gg/5RgZmkW) • [Twitter](https://twitter.com/nocodb) • [Reddit](https://www.reddit.com/r/NocoDB/) • [Docs](https://docs.nocodb.com/)
