Download attachment file

It’s not necessary to build this API’s URL by yourself as it will be automatically generated. Find the URL in the “apiUrl” property of the response from Get message or Get topic messages.





URL parameters

Name Type Description
topicId Number Topic ID
postId Number Post ID
attachementId Number Attachement ID
filename String Attached filename

Query parameters

Name Type Description
type (Optional) String Thumbnail image type (Only supports one image file) value: small, medium, large

All responses are text formatted as JSON, and include ETag. If you call an API with If-None-Match header, the server returns a 304 status code when the data is not changed. The date and time format is ISO 8601 and timezone is UTC (eg. 2014-01-09T06:20:08Z).