GET /2/chat/media/{id}/{media_hash_key}
Downloads encrypted media bytes from an XChat conversation. The response body contains raw binary bytes. For 1:1 conversations, provide the recipient's user ID; the server constructs the canonical conversation ID from the authenticated user and recipient.
Servers
- https://api.x.com
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id |
String | Yes |
The recipient's user ID for a 1:1 conversation, or a group conversation ID (prefixed with 'g'). |
media_hash_key |
String | Yes |
The media hash key returned from the upload initialize step. |
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.