Dev's NoxDev's Nox
Auth

Send verification code

Send a 2FA verification code via the requested method.

POST
/api/auth/methods/{method}/send

Path Parameters

method*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

target*number

Numeric user ID to send the verification code to

curl -X POST "https://loading/api/auth/methods/string/send" \  -H "Content-Type: application/json" \  -d '{    "target": 1  }'
Empty