---
title: "Cria e envia dados de segundo fator de autenticação via Email"
method: POST
path: "/{id}/emails/2fa"
tags: ["2FA Email"]
---

# Cria e envia dados de segundo fator de autenticação via Email

`POST /{id}/emails/2fa`

## Request

- Base URL: `https://datatrustapihml.clearsale.com.br/v1/transaction`
- URL: `https://datatrustapihml.clearsale.com.br/v1/transaction/{id}/emails/2fa`
- Auth: HTTP bearer

## Path parameters

- `id` string, nullable, required: Id da transação

## Response `201`

Created

- TwoFactorAuthenticationMessageDto
  - `text` string, nullable
  - `type` string, nullable
  - `status` string, nullable
  - `createdAt` string, date-time
  - `smsSendLimit` integer, nullable
  - `expirationTime` string, date-time, nullable

## Other responses

- `204`: No Content (Hotemail not found)
- `400`: Bad Request
- `401`: Unauthorized
- `404`: Not Found
- `500`: Internal Server Error

---

[API](https://skmtc.dev/serasaexperian/apis/2fa-sms-e-email.md) - [All operations](https://skmtc.dev/serasaexperian/apis/2fa-sms-e-email/llms.txt) - [OpenAPI document](https://skmtc.dev/serasaexperian/apis/2fa-sms-e-email/revisions/f590421d82a3?raw)
