var body = "{\n \"client\": \"example\"\n}";
var result = client.json("post_auth_device",
Map.of(), Map.of(), body);
Errors and constraints
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
var body = "{\n \"device_code\": \"example\"\n}";
var result = client.json("post_auth_device_poll",
Map.of(), Map.of(), body);
Errors and constraints
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
Request body
No request body.
Successful response
200 · application/json
integer · i32
Call example
Java SDK
var result = client.json("get_auth_email_verification",
Map.of(), Map.of(), null);
Errors and constraints
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
var result = client.json("post_auth_email_verification",
Map.of(), Map.of(), null);
Errors and constraints
mail_failed
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
var body = "{\n \"code\": \"example\"\n}";
var result = client.json("post_auth_email_verification_confirm",
Map.of(), Map.of(), body);
Errors and constraints
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
var body = "{\n \"email\": \"[email protected]\",\n \"password\": \"example\"\n}";
var result = client.json("post_auth_login",
Map.of(), Map.of(), body);
Errors and constraints
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
var body = "{\n \"ticket\": \"example\",\n \"code\": \"example\"\n}";
var result = client.json("post_auth_login_mfa",
Map.of(), Map.of(), body);
Errors and constraints
mfa_locked
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
var body = "{\n \"ticket\": \"example\",\n \"credential_id\": \"example\",\n \"client_data_json\": \"example\",\n \"authenticator_data\": \"example\",\n \"signature\": \"example\"\n}";
var result = client.json("post_auth_login_passkey",
Map.of(), Map.of(), body);
Errors and constraints
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
var body = "{\n \"ticket\": \"example\"\n}";
var result = client.json("post_auth_login_passkey_options",
Map.of(), Map.of(), body);
Errors and constraints
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
Request body
No request body.
Successful response
204
The response has no body.
Call example
Java SDK
var result = client.request("post_auth_logout",
Map.of(), Map.of(), null, Map.of());
Errors and constraints
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
Request body
No request body.
Successful response
204
The response has no body.
Call example
Java SDK
var result = client.request("post_auth_logout_all",
Map.of(), Map.of(), null, Map.of());
Errors and constraints
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
User session: Authorization: Bearer <token>. API keys are not accepted on this route. Permissions and email verification depend on the operation; verification itself and logout are available before verification.
Request body
Field
Type
Required
current
string
Required
new
string
Required
request.json
{
"current": "example",
"new": "example"
}
Successful response
204
The response has no body.
Call example
Java SDK
var body = "{\n \"current\": \"example\",\n \"new\": \"example\"\n}";
var result = client.request("post_auth_password",
Map.of(), Map.of(), body.getBytes(java.nio.charset.StandardCharsets.UTF_8), Map.of("Content-Type", "application/json"));
Errors and constraints
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
var body = "{\n \"email\": \"[email protected]\"\n}";
var result = client.json("post_auth_password_reset",
Map.of(), Map.of(), body);
Errors and constraints
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
No user session required. Submit credentials, codes or tickets as specified below.
Request body
Field
Type
Required
code
string
Required
password
string
Required
request.json
{
"code": "example",
"password": "example"
}
Successful response
204
The response has no body.
Call example
Java SDK
var body = "{\n \"code\": \"example\",\n \"password\": \"example\"\n}";
var result = client.request("post_auth_password_reset_confirm",
Map.of(), Map.of(), body.getBytes(java.nio.charset.StandardCharsets.UTF_8), Map.of("Content-Type", "application/json"));
Errors and constraints
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
var body = "{\n \"email\": \"[email protected]\",\n \"name\": \"example\",\n \"password\": \"example\"\n}";
var result = client.json("post_auth_register",
Map.of(), Map.of(), body);
Errors and constraints
bad_email
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.
var body = "{\n \"transfer\": true,\n \"approve_device\": true\n}";
var result = client.json("post_auth_session_activate",
Map.of(), Map.of(), body);
Errors and constraints
Listed codes are explicit handler checks. Validation, access, locked-period and external-service errors also apply. After a network failure, check the state before retrying a write.