Subscription Name property

Hi everyone,

I’m trying to get the “name” field of a subscription object using the following API endpoint:

https://api.hubspot.com/crm/v3/objects/subscriptions/[id]

However, I can’t seem to find the “name” value in the response. Is there an additional parameter I need to include in the request, or am I using the wrong endpoint?

Any help would be greatly appreciated. Thanks in advance!

Hey, @MBallante :waving_hand: Have you tried making a request to the Properties API and looking for the label or internal value of the property you are after?

GET https://api.hubapi.com/crm/v3/properties/subscriptions?archived=false

That always helps me track down specific property names. In this case, it looks like this is what you need:

"name": "hs_name",
"label": "Name"

Please note that you need to use the name and not the “label” when making API requests to our endpoints. And you have to specify the properties you want returned, or the response will only include a small subset of “default” properties for the object.

Please tell me if this is not what you were asking, and we can ask some of our community members for help.

I hope this helps you get moving forward! — Jaycee

@Jaycee_Lewis

Thanks so much :+1: