---
title: "POST /api/attachments/refresh-urls/"
method: POST
path: "/api/attachments/refresh-urls/"
tags: ["api"]
---

# POST /api/attachments/refresh-urls/

`POST /api/attachments/refresh-urls/`

## Request body

- RefreshUrlsRequestSchema
  - `attachment_urls` string[], required

## Response `200`

- RefreshUrlsResponse
  - `refreshed_urls` RefreshedUrl[], required
    - `original` string, required
    - `refreshed` string, required

## Other responses

- `400`

## Changes

- **2026-08-02** `034b4e879932` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/spacebarchat/apis/spacebar-server/changes/api/attachments/refresh-urls/post.md)

---

[API](https://skmtc.dev/spacebarchat/apis/spacebar-server.md) · [All operations](https://skmtc.dev/spacebarchat/apis/spacebar-server/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/spacebarchat/spacebar-server/revisions/ab03d843e434/schema)
