# Using add object

**URL:** <https://forum.genieacs.com/t/using-add-object/4656>\
**Category:** Uncategorized\
**Created:** [October 31, 2023, 4:50am UTC](https://forum.genieacs.com/t/using-add-object/4656 "2023-10-31T04:50:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sushmargowda27](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/sushmargowda27/32/1459_2.png) [@Sushmargowda27](https://forum.genieacs.com/u/Sushmargowda27)\
**Post date:** [October 31, 2023, 4:50am UTC](https://forum.genieacs.com/t/using-add-object/4656/1 "2023-10-31T04:50:56Z")

</div>

Good Morning all. I created one voip form. I want to add that user entered voip value into the CPE. How to use addobject function. Where I want to use.  
Thanks in Advance

---

<div class="post-metadata">

**Author:** ![akcoder](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/akcoder/32/11_2.png) [@akcoder](https://forum.genieacs.com/u/akcoder)\
**Post date:** [October 31, 2023, 8:18pm UTC](https://forum.genieacs.com/t/using-add-object/4656/2 "2023-10-31T20:18:07Z")

</div>

> [@Working with objects using the API](https://forum.genieacs.com/t/working-with-objects-using-the-api/3415/2):
>
> Adding/removing objects via the API is going to be fraught with issues as there is no guarantee of what id the CPE will assign to an instance. It is possible to figure this out, you will have to add the instance. Then refreshing the param. Then try to determine what the id is of the new instance. For some items where you will only have one item, its pretty straight forward. I find its far easier to manage this by either pre-configuring the CPE with the exact number of instances there can be, an…

---

<div class="post-metadata">

**Author:** ![Sushmargowda27](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/sushmargowda27/32/1459_2.png) [@Sushmargowda27](https://forum.genieacs.com/u/Sushmargowda27)\
**Post date:** [November 7, 2023, 11:22am UTC](https://forum.genieacs.com/t/using-add-object/4656/3 "2023-11-07T11:22:28Z")

</div>

Good Evening, Where I want to add this code…
