Is it possible to do something when my bot gets a DM? (DM event?) Like sending an response.

Yes, posting responses is done with POST direct_messages/events/new (message_create) | Docs | Twitter Developer Platform

Check out the snowbot example that implements a bunch of different DM features: https://github.com/twitterdev/SnowBotDev (just to see what’s possible, try sending a DM to https://twitter.com/SnowBotDev )

Is this possible with just Elevated Access?

Yes, Elevated access gives you access to the v1.1 API, and Account Activity API, and the DM APIs are part of that

How can I get Twitter API v1.1 and Account Activity API? I only get results for the Twitter API v2, not v1.1 :confused:

Oh, if you need to apply for elevated access, you can do it through the developer console https://developer.twitter.com/en/portal/dashboard somewhere (not sure where exactly, it’s hidden for me because i already applied before)

Yeah, I have Elevated Acces but i don’t know what to download or so to work with the twitter API v1.1 or the Account Activity API :confused:

Standart API v1.1
Premium v1.1 , includes Account Activity API

In the document you can move to another section in the document tab

I think I have everything setup. How do I listen for direct messages now?