---
title: "Gets a specified attachment of a specified alert."
method: GET
path: "/alerts/{alertId}/attachments/{attachmentId}"
tags: ["Alerts"]
---

# Gets a specified attachment of a specified alert.

`GET /alerts/{alertId}/attachments/{attachmentId}`

## Request

- Base URL: `https://connect.signl4.com/api`
- URL: `https://connect.signl4.com/api/alerts/{alertId}/attachments/{attachmentId}`
- Auth: none required
- TypeScript: <https://skmtc.dev/signl4/apis/signl4-api-v1/docs/alerts/:alertId/attachments/:attachmentId/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `alertId` string, required
- `attachmentId` string, required

## Query parameters

- `width` integer
- `height` integer
- `scale` boolean

## Response `200`

Returns the attachment image with additional meta information.

- string, binary

## Other responses

- `204`: The image of the attachment was not uploaded yet.
- `400`: A passed parameter was either empty or invalid.
- `403`: Authorization failed.
- `404`: The attachment image was not found.
- `500`: Internal general error occurred.

## Changes

- **2025-05-16** `80a3a05166d4`: 18 info
  - the response property `code` became required for the status `400` (media type: text/plain)
  - the response property `code` became required for the status `400` (media type: application/json)
  - the response property `code` became required for the status `400` (media type: text/json)
  - the response property `code` became required for the status `404` (media type: text/plain)
  - …14 more

[Operation history](https://skmtc.dev/signl4/apis/signl4-api-v1/changes/alerts/:alertId/attachments/:attachmentId/get.md)

---

[API](https://skmtc.dev/signl4/apis/signl4-api-v1.md) - [All operations](https://skmtc.dev/signl4/apis/signl4-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/signl4/apis/signl4-api-v1/revisions/bf9d377a0764?raw)
