---
title: "POST /2fa/send"
method: POST
path: "/2fa/send"
tags: ["twoFactorAuth"]
---

# POST /2fa/send

`POST /2fa/send`

## Request

- Base URL: `https://api.outdoorsy.com/v0`
- URL: `https://api.outdoorsy.com/v0/2fa/send`
- Auth: one of:
  - API key in header `Authorization`
  - API key in header `API-Key`
- TypeScript: <https://skmtc.dev/outdoorsy/apis/outdoorsy-api-documentation/docs/2fa/send/post.ts> (a function with typed inputs; its response is checked against the schema)

Create and send verification code

## Request body

- TwoFARequest
  - `session_id_2fa` string
  - `type` string

## Response `201`

## Other responses

- `400`: Invalid input or state means you're bad
- `401`: Unauthorized error

---

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