How to create custom lead properties via API

Hi!

I’m trying to create custom lead properties through the API. While HubSpot support has indicated that this is possible, I have not been able to find any documentation specifying the steps involved or the relevant API endpoint.

Has anyone successfully created custom lead properties via the API and can point me in the right direction? Any insights or resources would be greatly appreciated :slightly_smiling_face:

Hi @FionaSylanaj

I hope this will complete your requirements. If not can you please be specific with what Custom lead properties you wants to create and on which object?

For more details you can refer to the link attached (CLICK HERE)

Hope this will helps you out. Please mark it as Solution Accepted & Upvote to help other Community member.
Thanks!

Thank you for your reply!

I’m trying to create custom properties for the lead object, but I haven’t been able to find any relevant documentation for this yet.

Hi @FionaSylanaj

I want to inquire about the lead object. Is the lead object a custom object?

If it is, I would be happy to provide you with the curl command for creating custom properties for that object.

I hope this will help you out. Please mark it as Solution Accepted and upvote to help another Community member.
Thanks!

Hi @GRajput

It is not a custom object, I want to create additional properties for the new lead object itself!

Hi @FionaSylanaj

I wanted to bring to your attention that currently, there are no available APIs for “Leads Object” in HubSpot

Thanks!

This fellow forum member has found the hidden function: