Use the correct Accept header

It is important to put the Accept : application/json, otherwise you will receive the file directly in bytes

Be sure to use the attachment id, not the request id

Returned data

The data returned in data is in base64. You can use online tools (example) to decode the returned data.

Click Try It! to start a request and see the response here!