Confirm TOTP Setup
Verifies the two_factor_auth_code
and completes the TOTP setup
Headers
-
Content-Type string
-
Accept string
Body Required
-
A valid 6 digit TOTP code.
POST /api/v1/me/otp/confirm
curl \
-X POST https://api.plannrcrm.com/api/v1/me/otp/confirm \
-H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"two_factor_auth_code":"123789"}'
Request examples
# Headers
Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}
Content-Type: application/json
Accept: application/json
# Payload
{
"two_factor_auth_code": "123789"
}
Response examples (200)
{"status":"TOTP 2fa setup complete"}}