GET /2/dm_events

Returns recent DM Events across DM conversations

Servers

Query parameters

Name Type Required Description
expansions[] Array No

A comma separated list of fields to expand.

max_results Integer No

The maximum number of results.

Default value: 100

tweet.fields[] Array No

A comma separated list of Tweet fields to display.

event_types[] Array No

The set of event_types to include in the results.

Default value: [ "MessageCreate", "ParticipantsLeave", "ParticipantsJoin" ]

dm_event.fields[] Array No

A comma separated list of DmEvent fields to display.

user.fields[] Array No

A comma separated list of User fields to display.

media.fields[] Array No

A comma separated list of Media fields to display.

pagination_token String No

This parameter is used to get a specified 'page' of results.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.