# Tagging of new application with Custom tags API

**URL:** <https://community.dynatrace.com/t/tagging-of-new-application-with-custom-tags-api/30532>\
**Category:** Dynatrace API\
**Tags:** application-monitoring, dynatrace-api\
**Created:** [November 27, 2020, 11:32am UTC](https://community.dynatrace.com/t/tagging-of-new-application-with-custom-tags-api/30532 "2020-11-27T11:32:06Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![pahofmann](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pahofmann/32/17076_2.png) [@pahofmann](https://community.dynatrace.com/u/pahofmann)\
**Post date:** [November 27, 2020, 11:32am UTC](https://community.dynatrace.com/t/tagging-of-new-application-with-custom-tags-api/30532/1 "2020-11-27T11:32:06Z")

</div>

We have a customer where we create dynatrace configuration for new applications automatically via ansible during onboarding.

We ran into an issue with tagging, because the **Monitored entities - Custom tags** API Endpoint in the Environment API v2 **does not work for applications that have not received any user actions recently**.

So we can’t use it to tag the applications we just created, as they have not received any traffic yet.

We also can’t use the old v1 API for tagging, as it does not allow for key:vlaue pair tags.

Would be great if the new tagging API would work for application entities, even if they have not received any traffic yet.

---

_[View the full topic](https://community.dynatrace.com/t/tagging-of-new-application-with-custom-tags-api/30532)._
