---
title: "Update the Swiftness settings"
method: PATCH
path: "/swiftness/settings"
tags: ["Swiftness"]
---

# Update the Swiftness settings

`PATCH /swiftness/settings`

## Request

- Base URL: `https://api.surense.com/api/v1`
- URL: `https://api.surense.com/api/v1/swiftness/settings`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://api.surense.com/oauth/token`

Updates the Swiftness settings of the given agency (download file extension, automatic E9100 submission). Only the fields present in the request are changed.

## Request body

- UpdateSettingsRequest
  - `agencyId` string, uuid, required
  - `downloadFileExtension` JsonNullableString
    - `present` boolean
    - `undefined` boolean
  - `autoSubmitE9100` JsonNullableBoolean
    - `present` boolean
    - `undefined` boolean

## Response `200`

OK

- SwiftnessSettings
  - `tenantId` string, uuid
  - `agencyId` string, uuid
  - `createdDate` string, date-time
  - `createdBy` string, uuid
  - `creatorName` string
  - `lastModifiedDate` string, date-time
  - `lastModifiedBy` string, uuid
  - `version` integer
  - `id` string, uuid
  - `rootSettings` boolean
  - `downloadFileExtension` string
  - `autoSubmitE9100` boolean

---

[API](https://skmtc.dev/surense/apis/swiftness-api.md) - [All operations](https://skmtc.dev/surense/apis/swiftness-api/llms.txt) - [OpenAPI document](https://skmtc.dev/surense/apis/swiftness-api/revisions/a88d5ac82502?raw)
