---
title: "Get Settings"
method: GET
path: "/admin/settings"
tags: ["Settings"]
---

# Get Settings

`GET /admin/settings`

## Request

- Base URL: `https://developer.claimmind.life` (the document declares no server; this is the origin it was published from)
- URL: `https://developer.claimmind.life/admin/settings`
- Auth: OAuth 2
  - Password
  - Token URL: `token`

Get all partner settings (webhook + SFTP) for a tenant.

Access control:
- MTK Admin: Must specify tenant_id
- Super Admin: Can specify tenant_id or use hospital group context
- Org Admin: Uses own tenant (query param ignored)

## Query parameters

- `tenant_id` string, nullable: Tenant ID. Required for MTK Admin, optional for Super Admin, auto for Org Admin.

## Response `200`

Successful Response

- PartnerSettingsResponse: Complete partner settings response.
  - `partner_id` string, required
  - `webhook_config` WebhookConfigResponse, required: Webhook configuration response.
    - `enabled` boolean, required
    - `url` string, nullable
    - `events` WebhookEvent[], nullable
    - `secret` string, nullable
  - `sftp_config` SftpConfigResponse, required: SFTP configuration response.
    - `sftp_hostname` string, nullable
    - `sftp_port` integer, nullable
    - `sftp_username` string, nullable
    - `sftp_base_path` string, nullable
    - `sftp_batch_size` integer, nullable
    - `is_configured` boolean

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/claimmind/apis/claimmind-open-api-service.md) - [All operations](https://skmtc.dev/claimmind/apis/claimmind-open-api-service/llms.txt) - [OpenAPI document](https://skmtc.dev/claimmind/apis/claimmind-open-api-service/revisions/ee8bfbeadb8a?raw)
