---
title: "Set the 2FA source provider"
method: POST
path: "/v1/integrations/sync/two-factor-source"
tags: ["Integrations"]
---

# Set the 2FA source provider

`POST /v1/integrations/sync/two-factor-source`

Set the 2FA source provider in Comp AI. Connect vendor systems, configure OAuth apps, run compliance checks, sync employees, manage variables, and collect automated evidence.

## Request body

- SetTwoFactorSourceDto
  - `organizationId` string — Auto-resolved from your API key / session. You can omit this; it is ignored by the server.
  - `provider` object, nullable — Provider slug whose 2FA check feeds the People-tab 2FA column (must be bound to the 2FA task — call available-2fa-sources for options). Pass null or omit to clear the source.

## Response `201`

---

[API](https://skmtc.net/trycompai/apis/comp-ai-api.md) · [All operations](https://skmtc.net/trycompai/apis/comp-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/trycompai/comp-ai-api/versions/726b9523fb22/schema)
