# API Issue

**URL:** <https://community.hubspot.com/t/api-issue/38839>\
**Category:** APIs & Integrations\
**Tags:** developer-tools\
**Created:** [June 12, 2021, 10:38am UTC](https://community.hubspot.com/t/api-issue/38839 "2021-06-12T10:38:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pabbly\_Connect](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/pabbly_connect/32/32521_2.png) [@Pabbly\_Connect](https://community.hubspot.com/u/Pabbly_Connect)\
**Post date:** [June 12, 2021, 10:38am UTC](https://community.hubspot.com/t/api-issue/38839/1 "2021-06-12T10:38:03Z")

</div>

This endpoint above retrieves both the custom properties as well as default properties of a deal but I need to retrieve only those properties which are custom added in “groupName”: “deal information”,

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [June 14, 2021, 1:34pm UTC](https://community.hubspot.com/t/api-issue/38839/2 "2021-06-14T13:34:05Z")

</div>

[@Pabbly\_Connect](https://community.hubspot.com/t5/user/viewprofilepage/user-id/134600) , you can add a parameter to your api call to select properties you want to return.

eg: **&properties=i\_like\_cats**

---

<div class="post-metadata">

**Author:** ![Pabbly\_Connect](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/pabbly_connect/32/32521_2.png) [@Pabbly\_Connect](https://community.hubspot.com/u/Pabbly_Connect)\
**Post date:** [June 18, 2021, 10:40am UTC](https://community.hubspot.com/t/api-issue/38839/3 "2021-06-18T10:40:21Z")

</div>

Thank you for the Reply

> <https://stackoverflow.com/questions/56460557/how-to-include-meta-fields-in-wordpress-api-post>

 ![2021-06-11 (1).png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/3/3e8f2a3c677f3785a5fcaba4e3faaebee61fbc02.png)

 ![hubspot 1.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/1/d/1d5de17dc93482ca6ace235883bd56a6448a30a0.png)  
These endpoints retrieve all default properties in the deal as well as custom properties added by me later in a deal

1. I need to retrieve only those custom fields dynamically which were added by me later in a deal, I do not want to retrieve any default properties of the deal.

2. Solution given by you can add a parameter to your API call to select properties you want to return.

eg: &properties=i\_like\_cats

In this solution, I need to provide separately all the custom deal properties key names this is not what I want. I need to retrieve all the custom deal properties added by me at once via API is there any filter that can detect the custom fields which added manually in a deal.

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [June 18, 2021, 4:21pm UTC](https://community.hubspot.com/t/api-issue/38839/4 "2021-06-18T16:21:22Z")

</div>

[@Pabbly\_Connect](https://community.hubspot.com/t5/user/viewprofilepage/user-id/134600)

I do not believe there is a way to do this other than adding the properties to the url manually.

@MichaelC , do you know of another way?
