# V3 Export objectproperties field mapping

**URL:** <https://community.hubspot.com/t/v3-export-objectproperties-field-mapping/88752>\
**Category:** APIs & Integrations\
**Tags:** companies\
**Created:** [August 31, 2023, 7:10pm UTC](https://community.hubspot.com/t/v3-export-objectproperties-field-mapping/88752 "2023-08-31T19:10:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MasterplanDev](https://avatars.discourse-cdn.com/v4/letter/m/e5b9ba/32.png) [@MasterplanDev](https://community.hubspot.com/u/MasterplanDev)\
**Post date:** [August 31, 2023, 7:10pm UTC](https://community.hubspot.com/t/v3-export-objectproperties-field-mapping/88752/1 "2023-08-31T19:10:27Z")

</div>

Hi, when using the export endpoint, (crm/v3/exports/export/async), it looks like there’s a hidden mapping between object properties and the properties as displayed in the CRM.

```lia-code-sample
{
 "exportType": "VIEW",
 "format": "CSV",
 "exportName": "All companies",
 "language": "EN",
 "objectType": "COMPANY",
 "associatedObjectType": "CONTACT",
 "objectProperties": ["City", "state", "Type", "Zip", "Phone", "country"]
}

```

The above is a functional post body for a call, which eventually returns header values of

`"Record ID","City","State/Region","Type","Postal Code","Phone Number","Country/Region","Create Date","Last Modified Date","Associated Contact","Associated Contact IDs"`

Noteworthy is that country → country/region, phone → Phone Number and Zip → Postal Code.

Is there any resource that exposes the keys needed to be send in the export request for default objectProperties? If I were to try to send a request with one of the ObjectProperties being “Phone Number” instead of “phone” I would receive a validation error in the response.

Thanks in advance.

---

EDIT: in usual me style, I’ve found \_a\_ solution about 50 minutes after posting this, but I’m leaving it here because I feel the devX could be vastly improved with better documentation.

The key for properties can be accessed by making a get call to /crm/v3/properties/{object\_type} and then parsing through the extensive response to find the “name” field that correlates to the “label” displayed in the CRM. In my case, I queried /v3/properties/companies and looked for label: “Postal Code” and found the name “zip”.  
For default settings, I think documenting the default names for object properties would be friendly, or perhaps releasing a client that contains a dicitonary or enumerable of the default object property names for common objects. Thanks!

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [August 31, 2023, 10:01pm UTC](https://community.hubspot.com/t/v3-export-objectproperties-field-mapping/88752/2 "2023-08-31T22:01:41Z")

</div>

Hey, @MasterplanDev 👋 Thank you very much for sharing what worked. I agree there is a QOL improvement to be had here. If you want an accepted solution, you can add your update as a reply, and I’ll get it marked as accepted.

Either way, thank you! — Jaycee

---

<div class="post-metadata">

**Author:** ![MasterplanDev](https://avatars.discourse-cdn.com/v4/letter/m/e5b9ba/32.png) [@MasterplanDev](https://community.hubspot.com/u/MasterplanDev)\
**Post date:** [September 1, 2023, 12:45pm UTC](https://community.hubspot.com/t/v3-export-objectproperties-field-mapping/88752/3 "2023-09-01T12:45:34Z")

</div>

The key for properties can be accessed by making a get call to /crm/v3/properties/{object\_type} and then parsing through the extensive response to find the “name” field that correlates to the “label” displayed in the CRM. In my case, I queried /v3/properties/companies and looked for label: “Postal Code” and found the name “zip”.  
For default settings, I think documenting the default names for object properties would be friendly, or perhaps releasing a client that contains a dicitonary or enumerable of the default object property names for common objects. Thanks!
