Hey Community,
as the record id is unique identifier and it is number.
- what would be min and maximum length of the record?
- will be it always positive?
- will start with zero?
- is there a possibility it will include other that numbers ?
Hey Community,
as the record id is unique identifier and it is number.
Hi @ramkumar1021 and Happy Monday!
Great questions, thanks for asking the HubSpot Community!
When looking at the documentation, I couldn’t find an exact min/max digit length for Record IDs (hs_object_id), so I can’t give you precise bounds. However, based on the examples and behavior shown across the docs:
string values in JSON responses (e.g., "id": "33451"), even though they represent an internal numeric ID, so responses always wrap them in quotes.0; examples always show ordinary positive integers without leading zeros.For a definitive min/max length or ID range guarantee, I wasn’t able to confirm this in the documentation, I’ll check internally to see if I can get additional information. In the meantime, you may want to treat it as an arbitrary-length numeric string rather than assume a fixed bit-width (e.g., 32-bit vs 64-bit).
Here is the documentation: CRM API | ContactsUnderstanding the CRM
Hey @Anton, @ArtyCele and @Indra do you have any insights to share with @ramkumar1021, please?
Thanks so much and have a fantastic day!
Bérangère
Thanks for your insights @Berangere .