Help Center links

How can we retrieve the Help Center link for each request?

We would like our customers to go to different help centers based on the product.
The link for a ticket has this format: https://mycompany.atlassian.net/helpcenter/[project key]/portal/[a number]/[ticket ID]

Is it possible to get this link via API for a specific ticket? It is not a very nice approach to hardcode it.