Skip to main content
POST
Reset the password with a code

Authorizations

Authorization
string
header
required

Session JWT (from register/login) or API key (pk_...). X-API-Key: <token> is accepted as an alternative header.

Body

application/json
org
string
required
email
string<email>
required
code
string
required
new_password
string
required
Minimum string length: 8
channel
enum<string>
default:email
Available options:
email,
sms,
whatsapp

Response

Password reset; all sessions revoked.

Last modified on July 19, 2026