How are URLs/IDs generated?

Hi, does anyone know how the URLs/IDs are generated?

I don’t believe they’re just unique incremental INTs, nor do I think they’re UUIDs, as each seems to follow a pattern (Contact IDs are different from Project IDs).

They are unique incrementing integers, separate per API resource (contact, project etc).

Kind regards,