---
title: "Verify an authentication factor"
method: POST
path: "/api/cis/v1/factors/{factorId}/verify"
tags: ["Factors"]
---

# Verify an authentication factor

`POST /api/cis/v1/factors/{factorId}/verify`

## Request

- Base URL: `https://stalela-platform.vercel.app`
- URL: `https://stalela-platform.vercel.app/api/cis/v1/factors/{factorId}/verify`
- Auth: HTTP bearer and API key in header `x-tenant-id`

## Path parameters

- `factorId` string, uuid, required

## Headers

- `x-tenant-id` string, required

## Request body

- object
  - `code` string, required

## Response `200`

Factor verified

- Factor
  - `id` string, uuid
  - `identityId` string, uuid
  - `type` 'EMAIL_OTP' | 'SMS_OTP' | 'PASSWORD' | 'TOTP'
  - `status` 'PENDING' | 'VERIFIED' | 'REVOKED'
  - `handle` string, nullable
  - `createdAt` string, date-time
  - `updatedAt` string, date-time

## Other responses

- `400`: Invalid code, expired, or already verified
- `404`: Resource not found

---

[API](https://skmtc.dev/stalela/apis/stalela-cis-customer-identity-service-api.md) - [All operations](https://skmtc.dev/stalela/apis/stalela-cis-customer-identity-service-api/llms.txt) - [OpenAPI document](https://skmtc.dev/stalela/apis/stalela-cis-customer-identity-service-api/revisions/3065faad0b6b?raw)
