---
title: "Get Attachment Urls"
method: GET
path: "/v1/emails/{email_id}/attachments/urls"
tags: ["emails"]
---

# Get Attachment Urls

`GET /v1/emails/{email_id}/attachments/urls`

## Request

- Base URL: `https://api.opero.pro` (the document declares no server; this is the origin it was published from)
- URL: `https://api.opero.pro/v1/emails/{email_id}/attachments/urls`
- Auth: none declared

Presigned URLs for every attachment that has one — one request instead
of N, for message-body.tsx resolving several inline cid: images at once.

Must stay declared before ``/{email_id}/attachments/{index}`` below:
Starlette matches routes by path shape first and type-checks path params
(``index: int``) only after a route already matched, so with the other
order this path 404s into a 422 on "urls" instead of ever reaching here.

## Path parameters

- `email_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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