# Do "Add / Remove" API Calls Work With "Segments / Campaigns" Contexts?

**URL:** <https://forum.mautic.org/t/do-add-remove-api-calls-work-with-segments-campaigns-contexts/6691>\
**Category:** Development\
**Created:** [November 29, 2016, 5:52pm UTC](https://forum.mautic.org/t/do-add-remove-api-calls-work-with-segments-campaigns-contexts/6691 "2016-11-29T17:52:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![olimits7](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/olimits7/32/3071_2.png) [@olimits7](https://forum.mautic.org/u/olimits7)\
**Post date:** [November 29, 2016, 5:52pm UTC](https://forum.mautic.org/t/do-add-remove-api-calls-work-with-segments-campaigns-contexts/6691/1 "2016-11-29T17:52:02Z")

</div>

I was looking at the [https://github.com/mautic/api-library](https://github.com/mautic/api-library) page under the “ **Supported contexts are currently** ” section, but I’m confused with what it shows.  
  
  
  
Do the “ **Add / Remove** ” API calls work properly with the “ **Campaigns / Segments** ” contexts?  
  
  
  
I want to use the Mautic API to integrate with my website, and I need to be able to add/remove contacts from different “ **Segments** ” and “ **Campaigns** ”.  
  
  
  
Thank you!

---

<div class="post-metadata">

**Author:** ![olimits7](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/olimits7/32/3071_2.png) [@olimits7](https://forum.mautic.org/u/olimits7)\
**Post date:** [November 29, 2016, 5:52pm UTC](https://forum.mautic.org/t/do-add-remove-api-calls-work-with-segments-campaigns-contexts/6691/2 "2016-11-29T17:52:02Z")

</div>

I was looking at the [https://github.com/mautic/api-library](https://github.com/mautic/api-library) page under the “Supported contexts are currently” section, but I’m confused with what it shows.

Do the “Add / Remove” API calls work properly with the “Campaigns / Segments” contexts?

I want to use the Mautic API to integrate with my website, and I need to be able to add/remove contacts from different “Segments” and “Campaigns”.

Thank you!
