To request an attachment you’ll need the ID of the attachment (attachmentId). The response does not contain the file itself, you’ll have to request via the dedicated endpoint for that purpose.

HTTP-Method

GET

Path

/api/rest/v3/frontend/attachments/{attachmentId}

Authentification

User Access Token

Path Parameter

attachmentId

Query Parameter

-none-

Responses

Action Response Description
success 200 The DTO with the file information
authorization error 401 / 403 See here and here for details.
not found 404 – { “code”: “get_file_error”, “message”:”No attachment with id X found” } No attachment could be found for the given ID

Example call with curl and user access token

Response:

Comments

Comments are closed.