Geting CurrentWebsiteId in a API call

Expanding on this one: Geting CurrentWebsiteId from addons

How can I best get the CurrentWebsiteId in a ApiControllerBase call?
Both routeRequestLookupInfoAccessor and requestModelAccessor’s props seem to be nulled.

Is the correct/best way to use the RequestHeaderExtension.GetSiteSettingViewModel() to convert the litium-request-context into a siteSettingViewModel? and then use the channel go get this info?

Or is there a better way?

Litium version: 7.1

Check this RequestModel null in Api

You need to send the data via http request header so the server can get it