# Events api v2

**URL:** <https://community.dynatrace.com/t/events-api-v2/45082>\
**Category:** Dynatrace API\
**Tags:** events, dynatrace-api\
**Created:** [April 10, 2024, 3:06pm UTC](https://community.dynatrace.com/t/events-api-v2/45082 "2024-04-10T15:06:07Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![PacoPorro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pacoporro/32/36087_2.png) [@PacoPorro](https://community.dynatrace.com/u/PacoPorro)\
**Post date:** [April 11, 2024, 6:35am UTC](https://community.dynatrace.com/t/events-api-v2/45082/7 "2024-04-11T06:35:33Z")

</div>

I recommend that you assign the custom information to an entity (service, host, process\_group, etc).

```markup
{
    "eventType": "CUSTOM_INFO",
    "title": "Loadtest start",
    "entitySelector": "type(service),entityName.equals(SERVICE-NAME)",
    "timeout": 30,
    "properties": {
        "Tool": "MyLoadTool",
        "Load per minute": "100",
        "Load pattern": "production"
    }
}

```

---

_[View the full topic](https://community.dynatrace.com/t/events-api-v2/45082)._
