Box API usage with custom domain

Hello,

My team has a custom domain enabled for our Box account, such that when we access Box, the domain is https://{company_name}.app.box.com.
I am now trying to create a feature to programmatically generate an embed link for files in our company’s Box storage. To do so, I need to get the shared link of a file, which I know is detailed in the Box API documentation. However, as far as I can tell, this is only shown with the default API URL (https://api.box.com/2.0/). Given that we use a custom domain, what would the API URL be to get the shared link of a file?