# Excel API call - filterGroups - filters

**URL:** <https://community.hubspot.com/t/excel-api-call-filtergroups-filters/91825>\
**Category:** APIs & Integrations\
**Tags:** professional\
**Created:** [October 13, 2023, 8:24pm UTC](https://community.hubspot.com/t/excel-api-call-filtergroups-filters/91825 "2023-10-13T20:24:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SMCNULTY](https://avatars.discourse-cdn.com/v4/letter/s/85f322/32.png) [@SMCNULTY](https://community.hubspot.com/u/SMCNULTY)\
**Post date:** [October 13, 2023, 8:24pm UTC](https://community.hubspot.com/t/excel-api-call-filtergroups-filters/91825/1 "2023-10-13T20:24:12Z")

</div>

All,

\*\*\*SOLVED BELOW\*\*\* Hopefully this will help other people.

Can some one show me what I’m missing in this Body statement? I can get this POST to work in POSTMAN (first image) but I can’t get it to work in VBA in a spreadsheet. I expect my excel format is wrong.

THIS WORKS: (and returns the ticket number)

 ![SMCNULTY_0-1697227824627.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/9/6/960decd784110e8c3636f5a21f9d8698f4390408.png)

THIS DOES NOT WORK: (I’ve also tried colons in place of the commas)

 ![SMCNULTY_1-1697228419580.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/4/9/49274dcc3511a9994f8f4e2b3e0f4259b806c855.png)

I’ve done something similar that DOES work:

 ![SMCNULTY_2-1697228560959.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/9/6/96118dddc31fa8615c297cc73e89696a2f06bc27.png)

I also tried the body as this which I think is closer but does not work:

 ![SMCNULTY_0-1697231863318.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/1/c/1c1467ec431d380822e67f7c9db2c42bf5e962e0.png)

I get a 400 error

SOLVED - I was missing the brackets shown in the postman snip:

 ![SMCNULTY_0-1697232669668.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/8/8c4b0568b488e28e5013ba1331c7110dd3202452.png)

---

<div class="post-metadata">

**Author:** ![MiaSrebrnjak](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/miasrebrnjak/32/10_2.png) [@MiaSrebrnjak](https://community.hubspot.com/u/MiaSrebrnjak)\
**Post date:** [October 16, 2023, 10:31am UTC](https://community.hubspot.com/t/excel-api-call-filtergroups-filters/91825/2 "2023-10-16T10:31:52Z")

</div>

Hi @SMCNULTY,

Thank you so much for sharing the solution! 💛

Have a great start to the week,

Mia, Community team
