# Set conditional options using the API

**URL:** <https://community.hubspot.com/t/set-conditional-options-using-the-api/116334>\
**Category:** HubSpot Ideas\
**Tags:** api\
**Created:** [September 13, 2024, 3:23pm UTC](https://community.hubspot.com/t/set-conditional-options-using-the-api/116334 "2024-09-13T15:23:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![YleniaCortiana](https://avatars.discourse-cdn.com/v4/letter/y/4491bb/32.png) [@YleniaCortiana](https://community.hubspot.com/u/YleniaCortiana)\
**Post date:** [September 13, 2024, 3:23pm UTC](https://community.hubspot.com/t/set-conditional-options-using-the-api/116334/1 "2024-09-13T15:23:29Z")

</div>

Hi everyone!

our goal is to set conditional options between two Contact properties when the same conditional options are set on the same company properties: for example we have 2 contact properties “city” and country” with conditional logic. And we have 2 company properties “city” and country” with the same conditional logic and we would like that when a new conditional option is entered for the two contact properties, it would be automatically set the same conditional option on the 2 company properties; all this using API. Is this possible? Any solution for this goal?  
Thanks,

Ylenia
