---
title: "Set Nango Providers"
method: PUT
path: "/admin/claims/{claim_id}/nango-providers"
tags: ["admin"]
---

# Set Nango Providers

`PUT /admin/claims/{claim_id}/nango-providers`

## Request

- Base URL: `https://api.claimkit.co` (the document declares no server; this is the origin it was published from)
- URL: `https://api.claimkit.co/admin/claims/{claim_id}/nango-providers`
- Auth: none declared

Replace the claim's per-claim Nango list. Admin only.

Each entry must be a Nango-migrated provider the claim type supports
(400 otherwise). Providers already on globally via NANGO_PROVIDERS may be
listed too (harmless — the OR keeps them on) but need not be. Idempotent:
an unchanged list writes nothing and no audit entry.

Turning a provider ON: new connects on this claim mint a Nango Connect
session, and rows this claim links that already carry a
nango_connection_id (imported with ``nango_import_connections.py --claim``
or bound via the Connect UI) refresh through Nango from the next token
fetch. Turning it OFF: new connects fall back to the legacy popup; rows
already bound to Nango are NOT moved back (see ``connections`` in the
response for how many there are).

## Path parameters

- `claim_id` integer, required

## Request body

- SetNangoProvidersRequest
  - `providers` string[], required

## Response `200`

Successful Response

- NangoProvidersResponse
  - `claim_id` integer, required
  - `nango_providers` string[], required
  - `global_nango_providers` string[], required
  - `available_providers` string[], required
  - `connections` object, required

## Other responses

- `422`: Validation Error

---

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