---
title: "Sign attachment URLs"
method: POST
path: "/base/{baseId}/sign-attachment-urls"
tags: ["base"]
---

# Sign attachment URLs

`POST /base/{baseId}/sign-attachment-urls`

Generate signed URLs for attachment files

## Path parameters

- `baseId` string, required — The base ID

## Request body

- object
  - `attachments` object[], required — List of attachments to sign
    - `path` string, required — The file path of the attachment
    - `token` string, required — The access token for the attachment
    - `mimetype` string — The MIME type of the attachment

## Response `200`

URLs signed successfully

- object
  - `attachments` object[], required — List of signed attachments with their tokens and URLs
    - `token` string, required — The original attachment token
    - `url` string, required — The signed URL for the attachment

---

[API](https://skmtc.net/teable/apis/teable-app.md) · [All operations](https://skmtc.net/teable/apis/teable-app/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/teable/teable-app/revisions/7515f3b33d79/schema)
