Skip to main content
GET
Download DM Media

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

FlowAuthorization Code
Authorization URL
https://api.x.com/2/oauth2/authorize
Token URL
https://api.x.com/2/oauth2/token
Scopes1
dm.read
Read all your Direct Messages.

Path Parameters

dm_id
string
required
media_id
string
required
resource_id
string
required

Response

The request has succeeded.

The response is of type file.