APIs & Integrations

Johannes-mue
Member

ID ranges

SOLVE

Hi,

 

What are is the generalized range for the IDs you expose in your API?

I would guess 1 to 4294967295, or 1 to 2147483647?  (In the second case it seems you will run out of ID would seem space in the near future 🙂 )

Are there exceptions I need to consider that are outside that range? 

Also, which IDs are globally unique, and which are only unique per account/company/ or any other related object?

 

I need to know this so I can choose the correct type to handle, and store the IDs in my integration.

 

Thanks,

Johannes M.

0 Upvotes
1 Accepted solution
lscanlan
Solution
HubSpot Alumni
HubSpot Alumni

ID ranges

SOLVE

Hi @Johannes-mue,

 

Are you all set with this one? I see Derek responded to the thread here: https://community.hubspot.com/t5/APIs-Integrations/ID-ranges/m-p/292333, which looks like a duplicate. But let me know if you had any other questions.

 

Leland Scanlan

HubSpot Developer Support

View solution in original post

0 Upvotes
2 Replies 2
lscanlan
Solution
HubSpot Alumni
HubSpot Alumni

ID ranges

SOLVE

Hi @Johannes-mue,

 

Are you all set with this one? I see Derek responded to the thread here: https://community.hubspot.com/t5/APIs-Integrations/ID-ranges/m-p/292333, which looks like a duplicate. But let me know if you had any other questions.

 

Leland Scanlan

HubSpot Developer Support
0 Upvotes
Johannes-mue
Member

ID ranges

SOLVE

Hi Leland,

 

Yes, all good. This post got deleted/marked as spam for some reason, so I had to duplicate it. Apparently, it was restored now.

 

Regards,

Johannes M.

0 Upvotes