Skip to main content
PATCH

Authorizations

Authorization
string
header
required

Your API key in Authorization: Bearer <key>. Use vk_test_… keys against the sandbox and vk_live_… keys against production.

Body

application/json

Turn the gate on (requires ready) or off.

sessionDurationMinutes
integer

Session length after email verification, in minutes (15 to 1440). Applies to visitors who verify after the change; sessions already verified keep their end time.

Required range: 15 <= x <= 1440

Response

OK

Single-object envelope around a EmailOtpSettings.

data
object
required

Email OTP Gate settings and readiness.