---
title: "Get instance's global settings for Attachment"
method: GET
path: "/settings/attachment"
tags: ["settings"]
---

# Get instance's global settings for Attachment

`GET /settings/attachment`

## Response `200`

GeneralAttachmentSettings

- GeneralAttachmentSettings — GeneralAttachmentSettings contains global Attachment settings exposed by API
  - `allowed_types` string — AllowedTypes contains the allowed file types for attachments
  - `enabled` boolean — Enabled indicates if file attachments are enabled
  - `max_files` integer — MaxFiles is the maximum number of files per attachment
  - `max_size` integer — MaxSize is the maximum size for individual attachments

---

[API](https://skmtc.net/gitea/apis/gitea-api.md) · [All operations](https://skmtc.net/gitea/apis/gitea-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gitea/gitea-api/revisions/350de506cefa/schema)
