body = JSON.parse("{\n \"client\": \"example\"\n}")
result = client.json("post_auth_device",
params: {}, query: {}, 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.
body = JSON.parse("{\n \"device_code\": \"example\"\n}")
result = client.json("post_auth_device_poll",
params: {}, query: {}, 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
Ruby SDK
result = client.json("get_auth_email_verification",
params: {}, query: {})
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.
result = client.json("post_auth_email_verification",
params: {}, query: {})
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.
body = JSON.parse("{\n \"code\": \"example\"\n}")
result = client.json("post_auth_email_verification_confirm",
params: {}, query: {}, 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.
body = JSON.parse("{\n \"email\": \"[email protected]\",\n \"password\": \"example\"\n}")
result = client.json("post_auth_login",
params: {}, query: {}, 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.
body = JSON.parse("{\n \"ticket\": \"example\",\n \"code\": \"example\"\n}")
result = client.json("post_auth_login_mfa",
params: {}, query: {}, 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.
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.
body = JSON.parse("{\n \"ticket\": \"example\"\n}")
result = client.json("post_auth_login_passkey_options",
params: {}, query: {}, 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
Ruby SDK
result = client.request("post_auth_logout",
params: {}, query: {})
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
Ruby SDK
result = client.request("post_auth_logout_all",
params: {}, query: {})
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
Ruby SDK
body = JSON.parse("{\n \"current\": \"example\",\n \"new\": \"example\"\n}")
result = client.request("post_auth_password",
params: {}, query: {}, 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.
body = JSON.parse("{\n \"email\": \"[email protected]\"\n}")
result = client.json("post_auth_password_reset",
params: {}, query: {}, 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
Ruby SDK
body = JSON.parse("{\n \"code\": \"example\",\n \"password\": \"example\"\n}")
result = client.request("post_auth_password_reset_confirm",
params: {}, query: {}, 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.
body = JSON.parse("{\n \"email\": \"[email protected]\",\n \"name\": \"example\",\n \"password\": \"example\"\n}")
result = client.json("post_auth_register",
params: {}, query: {}, 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.
body = JSON.parse("{\n \"transfer\": true,\n \"approve_device\": true\n}")
result = client.json("post_auth_session_activate",
params: {}, query: {}, 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.