Hi Guys,

I am looking to add sites via the API which seems quite straight forward using: SitesManager.addSite however i would like to assign a specific id, is that in anyway possible?

I realise that i am able to just look up the id from url, but would like to use the same id across my entire platform if possible.

Alternatively can i use the name field and look up siteid by name?

It’s not possible to force site ID. However, this api call (SitesManager.addSite) should return the ID of added site.