Retrieve an Event Attachment
Retrieve metadata for a single attachment on an event, or download its
contents by passing the download query parameter.
Requires the event-attachments organization feature.
Path Parameters
organization_id_or_slug(string)REQUIREDThe ID or slug of the organization the resource belongs to.
project_id_or_slug(string)REQUIREDThe ID or slug of the project the resource belongs to. Project slugs are unique within each organization.
event_id(string)REQUIREDThe ID of the event. It is a 32-character hexadecimal string as reported by the client.
attachment_id(string)REQUIREDThe numeric ID of the attachment, as returned from the attachments list endpoint.
Query Parameters:
download(string)If this parameter is present, the response will be a binary file download instead of JSON metadata. The value does not matter — any value (including empty) triggers the download. Depending on where the attachment is stored, the response may be a redirect to the storage service, so clients must follow redirects.
Scopes
<auth_token> requires one of the following scopes:project:adminproject:readproject:write
curl https://sentry.io/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/events/{event_id}/attachments/{attachment_id}/ \ -H 'Authorization: Bearer <auth_token>'
Copied{ "id": "1234", "event_id": "9b29bbe17e9d4ee3a6d0fe9b2e8a3b1c", "type": "event.attachment", "name": "screenshot.png", "mimetype": "image/png", "dateCreated": "2026-04-15T18:22:31Z", "size": 248137, "headers": { "Content-Type": "image/png" }, "sha1": "d3f299af02d6abbe92dd8368bab781824a9702ed" }