---
title: "Save Line Swarm Settings"
method: PUT
path: "/core/passthrough-targets/{target_id}/swarm-settings"
tags: ["ivr-swarm"]
---

# Save Line Swarm Settings

`PUT /core/passthrough-targets/{target_id}/swarm-settings`

## Request

- Base URL: `https://api.anyreach.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.anyreach.ai/core/passthrough-targets/{target_id}/swarm-settings`
- Auth: HTTP bearer

Company details and the load-test attestation. Turning the attestation on
records who made it and when; turning it off clears both.

## Path parameters

- `target_id` string, uuid, required

## Headers

- `x-anyreach-org` string, nullable: Organization ID for user PATs (pat_ prefix tokens)

## Request body

- LineSwarmSettingsIn
  - `company_name` string, nullable
  - `website` string, nullable
  - `load_test_authorized` boolean
  - `load_test_note` string, nullable

## Response `200`

Successful Response

- Target
  - `id` string, required
  - `label` string, required
  - `number` string, required
  - `caller_id` string, nullable
  - `max_duration_s` integer, required
  - `load_test_authorized` boolean
  - `load_test_authorized_by` string, nullable
  - `load_test_authorized_at` string, date-time, nullable
  - `load_test_note` string, nullable
  - `company_name` string, nullable
  - `website` string, nullable
  - `do_not_test` boolean
  - `created_at` string, date-time, nullable
  - `updated_at` string, date-time, nullable
  - `modified_by` string, nullable

## Other responses

- `422`: Validation Error

---

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