GET /2/dm_conversations/media/{dm_id}/{media_id}/{resource_id}
Downloads media attached to a legacy Direct Message. The requesting user must be a participant in the conversation containing the specified DM event. The response body contains raw binary bytes.
Servers
- https://api.x.com
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
dm_id |
String | Yes |
The unique identifier of the Direct Message event containing the media. |
media_id |
String | Yes |
The unique identifier of the media attached to the Direct Message. |
resource_id |
String | Yes |
The resource identifier of the media file, including file extension (e.g. 'hVJQTwig.jpg'). |
How to start integrating
- Add HTTP Task to your workflow definition.
- 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.
- Click Test request to test run your request to the API and see the API's response.