var body = System.Text.Json.JsonSerializer.Deserialize<System.Text.Json.JsonElement>("{\n \"client\": \"example\"\n}");
using var result = await client.JsonAsync("post_auth_device", new RequestOptions {
Params = new Dictionary<string, string> { },
Query = new Dictionary<string, string> { },
Body = 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 = System.Text.Json.JsonSerializer.Deserialize<System.Text.Json.JsonElement>("{\n \"device_code\": \"example\"\n}");
using var result = await client.JsonAsync("post_auth_device_poll", new RequestOptions {
Params = new Dictionary<string, string> { },
Query = new Dictionary<string, string> { },
Body = 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
.NET SDK
using var result = await client.JsonAsync("get_auth_email_verification", new RequestOptions {
Params = new Dictionary<string, string> { },
Query = new Dictionary<string, string> { }
});
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.
using var result = await client.JsonAsync("post_auth_email_verification", new RequestOptions {
Params = new Dictionary<string, string> { },
Query = new Dictionary<string, string> { }
});
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 = System.Text.Json.JsonSerializer.Deserialize<System.Text.Json.JsonElement>("{\n \"code\": \"example\"\n}");
using var result = await client.JsonAsync("post_auth_email_verification_confirm", new RequestOptions {
Params = new Dictionary<string, string> { },
Query = new Dictionary<string, string> { },
Body = 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 = System.Text.Json.JsonSerializer.Deserialize<System.Text.Json.JsonElement>("{\n \"email\": \"[email protected]\",\n \"password\": \"example\"\n}");
using var result = await client.JsonAsync("post_auth_login", new RequestOptions {
Params = new Dictionary<string, string> { },
Query = new Dictionary<string, string> { },
Body = 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 = System.Text.Json.JsonSerializer.Deserialize<System.Text.Json.JsonElement>("{\n \"ticket\": \"example\",\n \"code\": \"example\"\n}");
using var result = await client.JsonAsync("post_auth_login_mfa", new RequestOptions {
Params = new Dictionary<string, string> { },
Query = new Dictionary<string, string> { },
Body = 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 = System.Text.Json.JsonSerializer.Deserialize<System.Text.Json.JsonElement>("{\n \"ticket\": \"example\",\n \"credential_id\": \"example\",\n \"client_data_json\": \"example\",\n \"authenticator_data\": \"example\",\n \"signature\": \"example\"\n}");
using var result = await client.JsonAsync("post_auth_login_passkey", new RequestOptions {
Params = new Dictionary<string, string> { },
Query = new Dictionary<string, string> { },
Body = 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 = System.Text.Json.JsonSerializer.Deserialize<System.Text.Json.JsonElement>("{\n \"ticket\": \"example\"\n}");
using var result = await client.JsonAsync("post_auth_login_passkey_options", new RequestOptions {
Params = new Dictionary<string, string> { },
Query = new Dictionary<string, string> { },
Body = 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
.NET SDK
var result = await client.RequestAsync("post_auth_logout", new RequestOptions {
Params = new Dictionary<string, string> { },
Query = new Dictionary<string, string> { }
});
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
.NET SDK
var result = await client.RequestAsync("post_auth_logout_all", new RequestOptions {
Params = new Dictionary<string, string> { },
Query = new Dictionary<string, string> { }
});
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
.NET SDK
var body = System.Text.Json.JsonSerializer.Deserialize<System.Text.Json.JsonElement>("{\n \"current\": \"example\",\n \"new\": \"example\"\n}");
var result = await client.RequestAsync("post_auth_password", new RequestOptions {
Params = new Dictionary<string, string> { },
Query = new Dictionary<string, string> { },
Body = 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 = System.Text.Json.JsonSerializer.Deserialize<System.Text.Json.JsonElement>("{\n \"email\": \"[email protected]\"\n}");
using var result = await client.JsonAsync("post_auth_password_reset", new RequestOptions {
Params = new Dictionary<string, string> { },
Query = new Dictionary<string, string> { },
Body = 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
.NET SDK
var body = System.Text.Json.JsonSerializer.Deserialize<System.Text.Json.JsonElement>("{\n \"code\": \"example\",\n \"password\": \"example\"\n}");
var result = await client.RequestAsync("post_auth_password_reset_confirm", new RequestOptions {
Params = new Dictionary<string, string> { },
Query = new Dictionary<string, string> { },
Body = 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 = System.Text.Json.JsonSerializer.Deserialize<System.Text.Json.JsonElement>("{\n \"email\": \"[email protected]\",\n \"name\": \"example\",\n \"password\": \"example\"\n}");
using var result = await client.JsonAsync("post_auth_register", new RequestOptions {
Params = new Dictionary<string, string> { },
Query = new Dictionary<string, string> { },
Body = 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 = System.Text.Json.JsonSerializer.Deserialize<System.Text.Json.JsonElement>("{\n \"transfer\": true,\n \"approve_device\": true\n}");
using var result = await client.JsonAsync("post_auth_session_activate", new RequestOptions {
Params = new Dictionary<string, string> { },
Query = new Dictionary<string, string> { },
Body = 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.