# API - Form Submit properties for multiple checkboxes

**URL:** <https://community.hubspot.com/t/api-form-submit-properties-for-multiple-checkboxes/11967>\
**Category:** APIs & Integrations\
**Tags:** forms\
**Created:** [July 14, 2016, 9:58pm UTC](https://community.hubspot.com/t/api-form-submit-properties-for-multiple-checkboxes/11967 "2016-07-14T21:58:48Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [July 14, 2016, 9:58pm UTC](https://community.hubspot.com/t/api-form-submit-properties-for-multiple-checkboxes/11967/1 "2016-07-14T21:58:48Z")

</div>

I am having a problem figuring out how to format the data for submitting a multiple checkbox property.

I have tried every combination of any values and keys I could think of.

What would make sense to me is something like:

```auto
{
 "property_name": ["internal_value1", "internal_value2"]
};

```

or even

```auto
{
 "property_name": [
 {"internal_value1": true},
 {"internal_value2": true}
 ]
};

```

Anybody know the magical phrase to unlock the special secrets?

---

<div class="post-metadata">

**Author:** ![zwolfson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/zwolfson/32/81360_2.png) [@zwolfson](https://community.hubspot.com/u/zwolfson)\
**Post date:** [July 14, 2016, 10:37pm UTC](https://community.hubspot.com/t/api-form-submit-properties-for-multiple-checkboxes/11967/2 "2016-07-14T22:37:29Z")

</div>

Hey [@ryanwinchester](https://community.hubspot.com/u/ryanwinchester),

You can send the selected options as strings with each option separated by a semi-colon.

```auto
{
"property_name":"internal_value1;internal_value2"
}

```

Thanks,  
Zack

---

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [July 14, 2016, 10:38pm UTC](https://community.hubspot.com/t/api-form-submit-properties-for-multiple-checkboxes/11967/3 "2016-07-14T22:38:52Z")

</div>

Thanks, that worked!

Where did you find this info?

---

<div class="post-metadata">

**Author:** ![zwolfson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/zwolfson/32/81360_2.png) [@zwolfson](https://community.hubspot.com/u/zwolfson)\
**Post date:** [July 14, 2016, 11:02pm UTC](https://community.hubspot.com/t/api-form-submit-properties-for-multiple-checkboxes/11967/4 "2016-07-14T23:02:18Z")

</div>

I went into the UI for a contact property, checked multiple options for a checkbox property, then did a GET for that contact and looked at the format. I’m going to be updating the documentation over the next few days to provide some examples of this.

---

<div class="post-metadata">

**Author:** ![joewalsh](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/joewalsh/32/44503_2.png) [@joewalsh](https://community.hubspot.com/u/joewalsh)\
**Post date:** [March 3, 2018, 5:55pm UTC](https://community.hubspot.com/t/api-form-submit-properties-for-multiple-checkboxes/11967/5 "2018-03-03T17:55:59Z")

</div>

Unfortunately, this doesn’t work any longer. I also couldn’t find any documentation of this apart from this thread. Any ideas how to make it work?

---

<div class="post-metadata">

**Author:** ![zwolfson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/zwolfson/32/81360_2.png) [@zwolfson](https://community.hubspot.com/u/zwolfson)\
**Post date:** [March 5, 2018, 2:56pm UTC](https://community.hubspot.com/t/api-form-submit-properties-for-multiple-checkboxes/11967/6 "2018-03-05T14:56:14Z")

</div>

Hi [@joe\_walsh](https://community.hubspot.com/u/joe_walsh),

Semicolon-separated values are still working for me. They are documented in our FAQs section here: [Accounts Dashboard | HubSpot](https://developers.hubspot.com/docs/faq/how-do-i-set-multiple-values-for-checkbox-properties)

If that doesn’t get you going, feel free to post the POST body you are sending into HubSpot so I can help in more detail.

-Zack

---

<div class="post-metadata">

**Author:** ![joewalsh](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/joewalsh/32/44503_2.png) [@joewalsh](https://community.hubspot.com/u/joewalsh)\
**Post date:** [March 5, 2018, 4:13pm UTC](https://community.hubspot.com/t/api-form-submit-properties-for-multiple-checkboxes/11967/7 "2018-03-05T16:13:06Z")

</div>

Hi Zack,

Thanks for your response. While this does work when you update a contact directly (I can confirm as well), it doesn’t work for what this discussion thread is about: Sending multi-checkbox values through the Forms API.

Can you give it a try and let me know if sending multiple values through the Forms API works for you?

---

<div class="post-metadata">

**Author:** ![zwolfson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/zwolfson/32/81360_2.png) [@zwolfson](https://community.hubspot.com/u/zwolfson)\
**Post date:** [March 5, 2018, 6:11pm UTC](https://community.hubspot.com/t/api-form-submit-properties-for-multiple-checkboxes/11967/8 "2018-03-05T18:11:00Z")

</div>

Hey [@joe\_walsh](https://community.hubspot.com/u/joe_walsh),

Sorry about that, I should have clarified that I did use the Forms API. Here is a screesnhot of what I sent in via Postman

[

 ![](https://d2qpr2jzcazej7.cloudfront.net/original/3X/5/d/5d512e86a39ec50d6871bd5551c4fbe9551f0df5.png)

image.png934x289 25.2 KB

]([https://community.hubspot.com/legacyfs/online/uploads/default/original/2X/4/4e902864f390c9d620aa693058837371f7b9b362.png](https://community.hubspot.com/legacyfs/online/uploads/default/original/2X/4/4e902864f390c9d620aa693058837371f7b9b362.png))

Let me know if that doesn’t work for you for some reason.

-Zack

---

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [July 14, 2016, 11:46pm UTC](https://community.hubspot.com/t/api-form-submit-properties-for-multiple-checkboxes/11967/9 "2016-07-14T23:46:20Z")

</div>

I’m starting the process of compiling “gotchas” [here](https://github.com/ryanwinchester/hubspot-php/wiki/Forms)

---

<div class="post-metadata">

**Author:** ![Qiniso](https://avatars.discourse-cdn.com/v4/letter/q/46a35a/32.png) [@Qiniso](https://community.hubspot.com/u/Qiniso)\
**Post date:** [November 2, 2022, 10:45am UTC](https://community.hubspot.com/t/api-form-submit-properties-for-multiple-checkboxes/11967/10 "2022-11-02T10:45:32Z")

</div>

After trying different combinations, I eventually got it right by adding a space after the semi-colon.

---

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [October 23, 2024, 6:25am UTC](https://community.hubspot.com/t/api-form-submit-properties-for-multiple-checkboxes/11967/11 "2024-10-23T06:25:00Z")

</div>

I reviewed the UI for a contact property, selected multiple options for a checkbox property, and performed a GET request to inspect the [format](https://honistapro.net/). Over the next few days, I will be updating the documentation to include examples based on this process.
