---
title: "Get tenant settings for the current tenant"
method: GET
path: "/api/tenant-settings"
tags: ["Tenant-Settings"]
---

# Get tenant settings for the current tenant

`GET /api/tenant-settings`

Retrieves tenant configuration settings including.

## Response `200`

Tenant settings retrieved successfully.

- TenantSettingsModel — API model for tenant settings with sensitive data masked for security.
  - `tenantId` integer — The tenant identifier.
  - `submissionTokenExpiryHours` integer, nullable — Submission token expiration time in hours. Null indicates tokens never expire.
  - `isSubmissionTokenValidAfterCompletion` boolean — Indicates whether submission tokens remain valid after submission completion.
  - `slackSettings` SlackSettingsModel — API model for Slack settings with Token field masked.
    - `token` string, nullable — The Slack token (masked for security).
    - `endatixHubBaseUrl` string, nullable — The Base URL for the Endatix Hub.
    - `channelId` string, nullable — The Slack channel ID where notifications are posted.
    - `active` boolean, nullable — Indicates whether Slack integration is active.
  - `webHookSettings` WebHookConfigurationModel — API model for webhook configuration with sensitive data masked.
    - `events` object — Dictionary of webhook events keyed by event name, with sensitive data masked.
  - `customExports` CustomExportConfigurationModel[], nullable — Custom export configurations.
    - `id` string — The ID of the custom export configuration.
    - `name` string — The name of the custom export configuration.
    - `sqlFunctionName` string — The name of the SQL function to call for the custom export.
  - `modifiedAt` string, date-time, nullable — Last modification timestamp.

## Other responses

- `401` — Unauthorized
- `403` — Forbidden

## Changes

- **2026-02-06** `a99906323223` — 1 info
  - added the optional property `customExports` to the response with the `200` status
- **2025-11-21** `50eff5014b78` — 1 info
  - endpoint added
- **2025-03-24** `fbc3fe6ecbf1` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/endatix/apis/endatix-platform-rest-api/changes/api/tenant-settings/get.md)

---

[API](https://skmtc.dev/endatix/apis/endatix-platform-rest-api.md) · [All operations](https://skmtc.dev/endatix/apis/endatix-platform-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/endatix/endatix-platform-rest-api/revisions/01bd299fd100/schema)
