# Using ActiveGate API endpoint in Dynakube as apiUrl

**URL:** <https://community.dynatrace.com/t/using-activegate-api-endpoint-in-dynakube-as-apiurl/48278>\
**Category:** Container platforms\
**Tags:** openshift, kubernetes\
**Created:** [October 11, 2024, 10:37am UTC](https://community.dynatrace.com/t/using-activegate-api-endpoint-in-dynakube-as-apiurl/48278 "2024-10-11T10:37:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![henk\_stobbe](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/henk_stobbe/32/30434_2.png) [@henk\_stobbe](https://community.dynatrace.com/u/henk_stobbe)\
**Post date:** [October 11, 2024, 10:37am UTC](https://community.dynatrace.com/t/using-activegate-api-endpoint-in-dynakube-as-apiurl/48278/1 "2024-10-11T10:37:35Z")

</div>

Hello,

Can not really find this in the doc;s, but I assume that for the operator I can use the containerized activeGates as the API/Rest endpoint e.g. param apiUrl,

KR Henk

---

<div class="post-metadata">

**Author:** ![gopher](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/gopher/32/5728_2.png) [@gopher](https://community.dynatrace.com/u/gopher)\
**Post date:** [October 11, 2024, 11:42am UTC](https://community.dynatrace.com/t/using-activegate-api-endpoint-in-dynakube-as-apiurl/48278/2 "2024-10-11T11:42:59Z")

</div>

Hi&nbsp;[@henk\_stobbe](https://community.dynatrace.com/user/11427)&nbsp;,

Not documented (or at from what i’ve found so far), but if you take a look at the services it creates, you can make the api url.

For instance if the active gate service is&nbsp; :&nbsp; dynakube-activegate port 80/443

The url would be&nbsp;  
[https://dynakube-activegate.dynatrace:443/e/\<tenantid\>/api/.](https://community.dynatrace.com/).

or

[http://dynakube-activegate.dynatrace:80/e/\<tenantid\>/api/.](https://community.dynatrace.com/).

Example for otel :&nbsp;[http://dynakube-activegate.dynatrace:80/e/\](http://dynakube-activegate.dynatrace:80/e/%5C)/api/v2/otlp/  
The standard format for kubernetes when reaching a service is

\<servicename\>.\<namespace\>:\<port\>

Hope this helps

---

<div class="post-metadata">

**Author:** ![henk\_stobbe](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/henk_stobbe/32/30434_2.png) [@henk\_stobbe](https://community.dynatrace.com/u/henk_stobbe)\
**Post date:** [October 13, 2024, 8:50am UTC](https://community.dynatrace.com/t/using-activegate-api-endpoint-in-dynakube-as-apiurl/48278/3 "2024-10-13T08:50:29Z")

</div>

Please be aware that you can not use the (containerized) activeGate for the operator apiUrl, this activeGate is create by the operator and does not exists yet!

KR Henk

---

<div class="post-metadata">

**Author:** ![Yosi\_Neuman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/yosi_neuman/32/9845_2.png) [@Yosi\_Neuman](https://community.dynatrace.com/u/Yosi_Neuman)\
**Post date:** [October 13, 2024, 3:45pm UTC](https://community.dynatrace.com/t/using-activegate-api-endpoint-in-dynakube-as-apiurl/48278/4 "2024-10-13T15:45:44Z")

</div>

Hi&nbsp;[@henk\_stobbe](https://community.dynatrace.com/user/11427)&nbsp;&&nbsp;[@gopher](https://community.dynatrace.com/user/10565)

You can find in [documentation](https://docs.dynatrace.com/docs/shortlink/activegate-capabilities#functional_tbl) the follows:

 ![Yosi_Neuman_0-1728834299791.png](https://global.discourse-cdn.com/dynatrace/original/1X/09effb3304f1d5f8c1a282d54245011d6f2d323e.png)

HTH

Yos
