---
title: "Add MFA Code to User"
method: POST
path: "/access/v1/credentials/mfa_code"
tags: ["Access Credentials"]
---

# Add MFA Code to User

`POST /access/v1/credentials/mfa_code`

Add a mfa code credential to a user given a specified user_id or external_id and org_id. MFA code object will be passed in the body of the request as a json.
We require a string of 6 alphanumeric values. The MFA Code Object is returned.

## Query parameters

- `external_id` string — A unique identifier managed externally provided by the customer.
- `user_id` string, uuid — The unique identifier of the user managed by Verkada.

## Request body

- PostMFACodeBodyV1
  - `code` string, required — The unique mfa code identifying a mfa code credential for a user.

## Response `200`

OK

- MFACodeObjectResponseV1
  - `code` string, required — The code corresponding to a user's MFA code credential.

---

[API](https://skmtc.net/verkada/apis/api-tokens.md) · [All operations](https://skmtc.net/verkada/apis/api-tokens/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/verkada/api-tokens/versions/4a79d2d949a6/schema)
