URL for Rest API for GitHub Enterprise server account

If we are using an Enterprise Server account where we do not go to github.com but have our own customized URL, what would be the URL of the Rest API endpoint. will it be formed by appending /api/v3 in the end or can this be customized as well?

@himankgupta81 correct append /api/v3 when using GHES, it is not configurable that I am aware