OpenAPI SpecificationJSON
API Reference

User

A user object represents individual user of Rossum. Every user is assigned to an organization.

A user can be assigned user roles (permission groups). User usually has only one assigned role (with the exception of approver role).

User may be assigned to one or more queues and can only access annotations from the assigned queues. This restriction is not applied to admin users, who may access annotations from all queues.

Users cannot be deleted, but can be disabled (set is_active to false). Field email cannot be changed through the API (due to security reasons). Field password can be set on user creation but cannot be changed through the API (due to security reasons). Field oidc_id will be set to User's email when transitioning to sso authorization, if empty.

User

Attribute
Type
Description
id*
read-only
integer

ID of the user

url*
read-only
URL

URL of the user

first_name*
string

First name of the user

last_name*
string

Last name of the user

email*
read-only
string (email)

Email of the user

phone_number*
string | null

Phone number of the user

password*
write-only
string

Password (not shown on API)

date_joined*
datetime

Date of user join

username*
string

Username of a user

groups*
list[URL]

List of user role (permission groups)

Default: []
organization*
URL

Organization URL.

queues*
list[URL]

List of queues user is assigned to

Default: []
is_active*
boolean

Whether user is enabled or disabled

Default: true
last_login*
datetime

Date of last login

ui_settings*
object

User-related frontend UI settings (e.g. locales). Rossum internal.

Default: {}
metadata*
object

Client data. May be used to store e.g. external system object IDs. See Metadata for more details.

Default: {}
oidc_id*
string | null

OIDC provider id used to match Rossum user (displayed only to admin user)

Default: null
auth_type*
"sso" | "password"

Authorization method, can be sso or password. This field can be edited only by admin.

Default: "password"
deleted*
read-only
boolean

Whether a user is deleted

Default: false

List users

GET api / v1 / users

Retrieve all user objects.

GET
/api/v1/users
curl -X GET "https://example.rossum.app/api/v1/users"
{
  "pagination": {
    "next": null,
    "previous": null
  },
  "results": [
    {
      "id": 10775,
      "url": "https://example.rossum.app/api/v1/users/10775",
      "first_name": "John",
      "last_name": "Doe",
      "email": "john-doe@east-west-trading.com",
      "phone_number": "+1-212-456-7890",
      "password": "string",
      "date_joined": "2018-09-19T13:44:56.000000Z",
      "username": "john-doe@east-west-trading.com",
      "groups": [
        "https://example.rossum.app/api/v1/groups/3"
      ],
      "organization": "https://example.rossum.app/api/v1/organizations/406",
      "queues": [
        "https://example.rossum.app/api/v1/queues/8199"
      ],
      "is_active": true,
      "last_login": "2019-02-07T16:20:18.652253Z",
      "ui_settings": {},
      "metadata": {
        "some_key": "some_value"
      },
      "oidc_id": null,
      "auth_type": "password",
      "deleted": false
    }
  ]
}
{
  "detail": "Bad Request.",
  "code": "bad_request"
}
{
  "detail": "Invalid token.",
  "code": "authentication_failed"
}
{
  "detail": "Access to the requested resource is forbidden.",
  "code": "access_forbidden"
}
{
  "detail": "Not found.",
  "code": "not_found"
}
{
  "detail": "Conflict.",
  "code": "conflict_status"
}
{
  "detail": "Request was rate limited.",
  "code": "rate_limited",
  "url": "https://rossum.app/api/docs/openapi/guides/overview/#rate-limiting"
}
{
  "detail": "Server error.",
  "code": "error"
}
{
  "detail": "Bad Gateway.",
  "code": "bad_gateway"
}
{
  "detail": "Service Unavailable.",
  "code": "service_unavailable"
}
{
  "detail": "Gateway timeout.",
  "code": "gateway_timeout"
}

Response

200OK

OK

Attribute
Type
Description
pagination*
pagination
next
URL

URL for the next page of results. Contains an opaque signed cursor query parameter. Use this URL directly to fetch the next page — do not attempt to construct or modify the cursor value.

previous
URL

URL for the previous page of results. Contains an opaque signed cursor query parameter. Use this URL directly to fetch the previous page — do not attempt to construct or modify the cursor value.

results*
id*
read-only
integer

ID of the user

url*
read-only
URL

URL of the user

first_name*
string

First name of the user

last_name*
string

Last name of the user

email*
read-only
string (email)

Email of the user

phone_number*
string | null

Phone number of the user

date_joined*
datetime

Date of user join

username*
string

Username of a user

groups*
list[URL]

List of user role (permission groups)

Default: []
organization*
URL

Organization URL.

queues*
list[URL]

List of queues user is assigned to

Default: []
is_active*
boolean

Whether user is enabled or disabled

Default: true
last_login*
datetime

Date of last login

ui_settings*
object

User-related frontend UI settings (e.g. locales). Rossum internal.

Default: {}
metadata*
object

Client data. May be used to store e.g. external system object IDs. See Metadata for more details.

Default: {}
oidc_id*
string | null

OIDC provider id used to match Rossum user (displayed only to admin user)

Default: null
auth_type*
"sso" | "password"

Authorization method, can be sso or password. This field can be edited only by admin.

Default: "password"
deleted*
read-only
boolean

Whether a user is deleted

Default: false
400Bad Request

Invalid input data.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

401Unauthorized

The username/password is invalid or token is invalid (e.g. expired).

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

403Forbidden

Insufficient permission, missing authentication, invalid CSRF token and similar issue.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

404Not Found

The specified resource was not found.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

409Conflict

Conflict

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

429Too Many Requests

Request rate is too high, wait before sending more requests. See Rate Limiting for more details.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

url
read-only
string

Link to the rate limiting documentation

500Internal Server Error

Server failure while processing the request.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

502Bad Gateway

Invalid response from the upstream server.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

503Service Unavailable

We're temporarily offline for maintenance. Please try again later.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

504

Upstream server could not complete the request in time.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

Create user

POST api / v1 / users

Create a new user object.

For security reasons, it is better to create users without a specified password. Such users have an invalid password. Later, they can set their password after using reset-password endpoint.

POST
/api/v1/users
curl -X POST "https://example.rossum.app/api/v1/users" \  -H "Content-Type: application/json" \  -d '{    "username": "john-doe@east-west-trading.com",    "organization": "https://example.rossum.app/api/v1/organizations/406"  }'
{
  "id": 10775,
  "url": "https://example.rossum.app/api/v1/users/10775",
  "first_name": "John",
  "last_name": "Doe",
  "email": "john-doe@east-west-trading.com",
  "phone_number": "+1-212-456-7890",
  "password": "string",
  "date_joined": "2018-09-19T13:44:56.000000Z",
  "username": "john-doe@east-west-trading.com",
  "groups": [
    "https://example.rossum.app/api/v1/groups/3"
  ],
  "organization": "https://example.rossum.app/api/v1/organizations/406",
  "queues": [
    "https://example.rossum.app/api/v1/queues/8199"
  ],
  "is_active": true,
  "last_login": "2019-02-07T16:20:18.652253Z",
  "ui_settings": {},
  "metadata": {
    "some_key": "some_value"
  },
  "oidc_id": null,
  "auth_type": "password",
  "deleted": false
}
{
  "detail": "Bad Request.",
  "code": "bad_request"
}
{
  "detail": "Invalid token.",
  "code": "authentication_failed"
}
{
  "detail": "Access to the requested resource is forbidden.",
  "code": "access_forbidden"
}
{
  "detail": "Not found.",
  "code": "not_found"
}
{
  "detail": "Conflict.",
  "code": "conflict_status"
}
{
  "detail": "Payload Too Large.",
  "code": "payload_too_large"
}
{
  "detail": "Request was rate limited.",
  "code": "rate_limited",
  "url": "https://rossum.app/api/docs/openapi/guides/overview/#rate-limiting"
}
{
  "detail": "Server error.",
  "code": "error"
}
{
  "detail": "Bad Gateway.",
  "code": "bad_gateway"
}
{
  "detail": "Service Unavailable.",
  "code": "service_unavailable"
}
{
  "detail": "Gateway timeout.",
  "code": "gateway_timeout"
}

Request Body

application/json

Attribute
Type
Description
first_name
string

First name of the user

last_name
string

Last name of the user

phone_number
string | null

Phone number of the user

password
write-only
string

Password (not shown on API)

date_joined
datetime

Date of user join

username*
string

Username of a user

groups
list[URL]

List of user role (permission groups)

Default: []
organization*
URL

Organization URL.

queues
list[URL]

List of queues user is assigned to

Default: []
is_active
boolean

Whether user is enabled or disabled

Default: true
last_login
datetime

Date of last login

ui_settings
object

User-related frontend UI settings (e.g. locales). Rossum internal.

Default: {}
metadata
object

Client data. May be used to store e.g. external system object IDs. See Metadata for more details.

Default: {}
oidc_id
string | null

OIDC provider id used to match Rossum user (displayed only to admin user)

Default: null
auth_type
"sso" | "password"

Authorization method, can be sso or password. This field can be edited only by admin.

Default: "password"

Response

201Created

Created

Attribute
Type
Description
id*
read-only
integer

ID of the user

url*
read-only
URL

URL of the user

first_name*
string

First name of the user

last_name*
string

Last name of the user

email*
read-only
string (email)

Email of the user

phone_number*
string | null

Phone number of the user

date_joined*
datetime

Date of user join

username*
string

Username of a user

groups*
list[URL]

List of user role (permission groups)

Default: []
organization*
URL

Organization URL.

queues*
list[URL]

List of queues user is assigned to

Default: []
is_active*
boolean

Whether user is enabled or disabled

Default: true
last_login*
datetime

Date of last login

ui_settings*
object

User-related frontend UI settings (e.g. locales). Rossum internal.

Default: {}
metadata*
object

Client data. May be used to store e.g. external system object IDs. See Metadata for more details.

Default: {}
oidc_id*
string | null

OIDC provider id used to match Rossum user (displayed only to admin user)

Default: null
auth_type*
"sso" | "password"

Authorization method, can be sso or password. This field can be edited only by admin.

Default: "password"
deleted*
read-only
boolean

Whether a user is deleted

Default: false
400Bad Request

Invalid input data.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

401Unauthorized

The username/password is invalid or token is invalid (e.g. expired).

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

403Forbidden

Insufficient permission, missing authentication, invalid CSRF token and similar issue.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

404Not Found

The specified resource was not found.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

409Conflict

Conflict

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

413

Payload too large (especially for files uploaded).

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

429Too Many Requests

Request rate is too high, wait before sending more requests. See Rate Limiting for more details.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

url
read-only
string

Link to the rate limiting documentation

500Internal Server Error

Server failure while processing the request.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

502Bad Gateway

Invalid response from the upstream server.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

503Service Unavailable

We're temporarily offline for maintenance. Please try again later.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

504

Upstream server could not complete the request in time.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

Retrieve user

GET api / v1 / users / {userID}

Get a user object.

GET
/api/v1/users/{userID}
curl -X GET "https://example.rossum.app/api/v1/users/10775"
{
  "id": 10775,
  "url": "https://example.rossum.app/api/v1/users/10775",
  "first_name": "John",
  "last_name": "Doe",
  "email": "john-doe@east-west-trading.com",
  "phone_number": "+1-212-456-7890",
  "password": "string",
  "date_joined": "2018-09-19T13:44:56.000000Z",
  "username": "john-doe@east-west-trading.com",
  "groups": [
    "https://example.rossum.app/api/v1/groups/3"
  ],
  "organization": "https://example.rossum.app/api/v1/organizations/406",
  "queues": [
    "https://example.rossum.app/api/v1/queues/8199"
  ],
  "is_active": true,
  "last_login": "2019-02-07T16:20:18.652253Z",
  "ui_settings": {},
  "metadata": {
    "some_key": "some_value"
  },
  "oidc_id": null,
  "auth_type": "password",
  "deleted": false
}
{
  "detail": "Bad Request.",
  "code": "bad_request"
}
{
  "detail": "Invalid token.",
  "code": "authentication_failed"
}
{
  "detail": "Access to the requested resource is forbidden.",
  "code": "access_forbidden"
}
{
  "detail": "Not found.",
  "code": "not_found"
}
{
  "detail": "Conflict.",
  "code": "conflict_status"
}
{
  "detail": "Request was rate limited.",
  "code": "rate_limited",
  "url": "https://rossum.app/api/docs/openapi/guides/overview/#rate-limiting"
}
{
  "detail": "Server error.",
  "code": "error"
}
{
  "detail": "Bad Gateway.",
  "code": "bad_gateway"
}
{
  "detail": "Service Unavailable.",
  "code": "service_unavailable"
}
{
  "detail": "Gateway timeout.",
  "code": "gateway_timeout"
}

Response

200OK

OK

Attribute
Type
Description
id*
read-only
integer

ID of the user

url*
read-only
URL

URL of the user

first_name*
string

First name of the user

last_name*
string

Last name of the user

email*
read-only
string (email)

Email of the user

phone_number*
string | null

Phone number of the user

date_joined*
datetime

Date of user join

username*
string

Username of a user

groups*
list[URL]

List of user role (permission groups)

Default: []
organization*
URL

Organization URL.

queues*
list[URL]

List of queues user is assigned to

Default: []
is_active*
boolean

Whether user is enabled or disabled

Default: true
last_login*
datetime

Date of last login

ui_settings*
object

User-related frontend UI settings (e.g. locales). Rossum internal.

Default: {}
metadata*
object

Client data. May be used to store e.g. external system object IDs. See Metadata for more details.

Default: {}
oidc_id*
string | null

OIDC provider id used to match Rossum user (displayed only to admin user)

Default: null
auth_type*
"sso" | "password"

Authorization method, can be sso or password. This field can be edited only by admin.

Default: "password"
deleted*
read-only
boolean

Whether a user is deleted

Default: false
400Bad Request

Invalid input data.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

401Unauthorized

The username/password is invalid or token is invalid (e.g. expired).

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

403Forbidden

Insufficient permission, missing authentication, invalid CSRF token and similar issue.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

404Not Found

The specified resource was not found.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

409Conflict

Conflict

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

429Too Many Requests

Request rate is too high, wait before sending more requests. See Rate Limiting for more details.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

url
read-only
string

Link to the rate limiting documentation

500Internal Server Error

Server failure while processing the request.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

502Bad Gateway

Invalid response from the upstream server.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

503Service Unavailable

We're temporarily offline for maintenance. Please try again later.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

504

Upstream server could not complete the request in time.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

Partial update user

PATCH api / v1 / users / {userID}

Update part of user object.

PATCH
/api/v1/users/{userID}
curl -X PATCH "https://example.rossum.app/api/v1/users/10775" \  -H "Content-Type: application/json" \  -d '{}'
{
  "id": 10775,
  "url": "https://example.rossum.app/api/v1/users/10775",
  "first_name": "John",
  "last_name": "Doe",
  "email": "john-doe@east-west-trading.com",
  "phone_number": "+1-212-456-7890",
  "password": "string",
  "date_joined": "2018-09-19T13:44:56.000000Z",
  "username": "john-doe@east-west-trading.com",
  "groups": [
    "https://example.rossum.app/api/v1/groups/3"
  ],
  "organization": "https://example.rossum.app/api/v1/organizations/406",
  "queues": [
    "https://example.rossum.app/api/v1/queues/8199"
  ],
  "is_active": true,
  "last_login": "2019-02-07T16:20:18.652253Z",
  "ui_settings": {},
  "metadata": {
    "some_key": "some_value"
  },
  "oidc_id": null,
  "auth_type": "password",
  "deleted": false
}
{
  "detail": "Bad Request.",
  "code": "bad_request"
}
{
  "detail": "Invalid token.",
  "code": "authentication_failed"
}
{
  "detail": "Access to the requested resource is forbidden.",
  "code": "access_forbidden"
}
{
  "detail": "Not found.",
  "code": "not_found"
}
{
  "detail": "Conflict.",
  "code": "conflict_status"
}
{
  "detail": "Payload Too Large.",
  "code": "payload_too_large"
}
{
  "detail": "Request was rate limited.",
  "code": "rate_limited",
  "url": "https://rossum.app/api/docs/openapi/guides/overview/#rate-limiting"
}
{
  "detail": "Server error.",
  "code": "error"
}
{
  "detail": "Bad Gateway.",
  "code": "bad_gateway"
}
{
  "detail": "Service Unavailable.",
  "code": "service_unavailable"
}
{
  "detail": "Gateway timeout.",
  "code": "gateway_timeout"
}

Request Body

application/json

Attribute
Type
Description
first_name
string

First name of the user

last_name
string

Last name of the user

phone_number
string | null

Phone number of the user

password
write-only
string

Password (not shown on API)

date_joined
datetime

Date of user join

username
string

Username of a user

groups
list[URL]

List of user role (permission groups)

Default: []
organization
URL

Organization URL.

queues
list[URL]

List of queues user is assigned to

Default: []
is_active
boolean

Whether user is enabled or disabled

Default: true
last_login
datetime

Date of last login

ui_settings
object

User-related frontend UI settings (e.g. locales). Rossum internal.

Default: {}
metadata
object

Client data. May be used to store e.g. external system object IDs. See Metadata for more details.

Default: {}
oidc_id
string | null

OIDC provider id used to match Rossum user (displayed only to admin user)

Default: null
auth_type
"sso" | "password"

Authorization method, can be sso or password. This field can be edited only by admin.

Default: "password"

Response

200OK

OK

Attribute
Type
Description
id*
read-only
integer

ID of the user

url*
read-only
URL

URL of the user

first_name*
string

First name of the user

last_name*
string

Last name of the user

email*
read-only
string (email)

Email of the user

phone_number*
string | null

Phone number of the user

date_joined*
datetime

Date of user join

username*
string

Username of a user

groups*
list[URL]

List of user role (permission groups)

Default: []
organization*
URL

Organization URL.

queues*
list[URL]

List of queues user is assigned to

Default: []
is_active*
boolean

Whether user is enabled or disabled

Default: true
last_login*
datetime

Date of last login

ui_settings*
object

User-related frontend UI settings (e.g. locales). Rossum internal.

Default: {}
metadata*
object

Client data. May be used to store e.g. external system object IDs. See Metadata for more details.

Default: {}
oidc_id*
string | null

OIDC provider id used to match Rossum user (displayed only to admin user)

Default: null
auth_type*
"sso" | "password"

Authorization method, can be sso or password. This field can be edited only by admin.

Default: "password"
deleted*
read-only
boolean

Whether a user is deleted

Default: false
400Bad Request

Invalid input data.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

401Unauthorized

The username/password is invalid or token is invalid (e.g. expired).

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

403Forbidden

Insufficient permission, missing authentication, invalid CSRF token and similar issue.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

404Not Found

The specified resource was not found.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

409Conflict

Conflict

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

413

Payload too large (especially for files uploaded).

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

429Too Many Requests

Request rate is too high, wait before sending more requests. See Rate Limiting for more details.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

url
read-only
string

Link to the rate limiting documentation

500Internal Server Error

Server failure while processing the request.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

502Bad Gateway

Invalid response from the upstream server.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

503Service Unavailable

We're temporarily offline for maintenance. Please try again later.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

504

Upstream server could not complete the request in time.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

Delete user

DELETE api / v1 / users / {userID}

Soft-delete a user - marking a user as deleted, without a possibility of reversing the deletion.

The following rules apply to user soft-deletion:

  • A regular user can delete self and nobody else
  • An organization admin can delete other users within the organization, including other admins
    • For trial organizations, the admin deleting self actually means the whole trial organization will be deleted
    • For non-trial organization
      • The last admin cannot be deleted via API, but must instead create a ticket with support
      • If the organization has an organization group admin, the admin can delete self but the org will be preserved
  • An organization group admin
    • Cannot be deleted via API
    • Can remove any organization admin or regular user
DELETE
/api/v1/users/{userID}
curl -X DELETE "https://example.rossum.app/api/v1/users/10775"
Empty
{
  "detail": "Bad Request.",
  "code": "bad_request"
}
{
  "detail": "Invalid token.",
  "code": "authentication_failed"
}
{
  "detail": "Access to the requested resource is forbidden.",
  "code": "access_forbidden"
}
{
  "detail": "Not found.",
  "code": "not_found"
}
{
  "detail": "Conflict.",
  "code": "conflict_status"
}
{
  "detail": "Request was rate limited.",
  "code": "rate_limited",
  "url": "https://rossum.app/api/docs/openapi/guides/overview/#rate-limiting"
}
{
  "detail": "Server error.",
  "code": "error"
}
{
  "detail": "Bad Gateway.",
  "code": "bad_gateway"
}
{
  "detail": "Service Unavailable.",
  "code": "service_unavailable"
}
{
  "detail": "Gateway timeout.",
  "code": "gateway_timeout"
}

Response

204No Content

No Content

No response body.

400Bad Request

Invalid input data.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

401Unauthorized

The username/password is invalid or token is invalid (e.g. expired).

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

403Forbidden

Insufficient permission, missing authentication, invalid CSRF token and similar issue.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

404Not Found

The specified resource was not found.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

409Conflict

Conflict

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

429Too Many Requests

Request rate is too high, wait before sending more requests. See Rate Limiting for more details.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

url
read-only
string

Link to the rate limiting documentation

500Internal Server Error

Server failure while processing the request.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

502Bad Gateway

Invalid response from the upstream server.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

503Service Unavailable

We're temporarily offline for maintenance. Please try again later.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

504

Upstream server could not complete the request in time.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

Update user

PUT api / v1 / users / {userID}

Update user object.

PUT
/api/v1/users/{userID}
curl -X PUT "https://example.rossum.app/api/v1/users/10775" \  -H "Content-Type: application/json" \  -d '{    "username": "john-doe@east-west-trading.com",    "organization": "https://example.rossum.app/api/v1/organizations/406"  }'
{
  "id": 10775,
  "url": "https://example.rossum.app/api/v1/users/10775",
  "first_name": "John",
  "last_name": "Doe",
  "email": "john-doe@east-west-trading.com",
  "phone_number": "+1-212-456-7890",
  "password": "string",
  "date_joined": "2018-09-19T13:44:56.000000Z",
  "username": "john-doe@east-west-trading.com",
  "groups": [
    "https://example.rossum.app/api/v1/groups/3"
  ],
  "organization": "https://example.rossum.app/api/v1/organizations/406",
  "queues": [
    "https://example.rossum.app/api/v1/queues/8199"
  ],
  "is_active": true,
  "last_login": "2019-02-07T16:20:18.652253Z",
  "ui_settings": {},
  "metadata": {
    "some_key": "some_value"
  },
  "oidc_id": null,
  "auth_type": "password",
  "deleted": false
}
{
  "detail": "Bad Request.",
  "code": "bad_request"
}
{
  "detail": "Invalid token.",
  "code": "authentication_failed"
}
{
  "detail": "Access to the requested resource is forbidden.",
  "code": "access_forbidden"
}
{
  "detail": "Not found.",
  "code": "not_found"
}
{
  "detail": "Conflict.",
  "code": "conflict_status"
}
{
  "detail": "Payload Too Large.",
  "code": "payload_too_large"
}
{
  "detail": "Request was rate limited.",
  "code": "rate_limited",
  "url": "https://rossum.app/api/docs/openapi/guides/overview/#rate-limiting"
}
{
  "detail": "Server error.",
  "code": "error"
}
{
  "detail": "Bad Gateway.",
  "code": "bad_gateway"
}
{
  "detail": "Service Unavailable.",
  "code": "service_unavailable"
}
{
  "detail": "Gateway timeout.",
  "code": "gateway_timeout"
}

Request Body

application/json

Attribute
Type
Description
first_name
string

First name of the user

last_name
string

Last name of the user

phone_number
string | null

Phone number of the user

password
write-only
string

Password (not shown on API)

date_joined
datetime

Date of user join

username*
string

Username of a user

groups
list[URL]

List of user role (permission groups)

Default: []
organization*
URL

Organization URL.

queues
list[URL]

List of queues user is assigned to

Default: []
is_active
boolean

Whether user is enabled or disabled

Default: true
last_login
datetime

Date of last login

ui_settings
object

User-related frontend UI settings (e.g. locales). Rossum internal.

Default: {}
metadata
object

Client data. May be used to store e.g. external system object IDs. See Metadata for more details.

Default: {}
oidc_id
string | null

OIDC provider id used to match Rossum user (displayed only to admin user)

Default: null
auth_type
"sso" | "password"

Authorization method, can be sso or password. This field can be edited only by admin.

Default: "password"

Response

200OK

OK

Attribute
Type
Description
id*
read-only
integer

ID of the user

url*
read-only
URL

URL of the user

first_name*
string

First name of the user

last_name*
string

Last name of the user

email*
read-only
string (email)

Email of the user

phone_number*
string | null

Phone number of the user

date_joined*
datetime

Date of user join

username*
string

Username of a user

groups*
list[URL]

List of user role (permission groups)

Default: []
organization*
URL

Organization URL.

queues*
list[URL]

List of queues user is assigned to

Default: []
is_active*
boolean

Whether user is enabled or disabled

Default: true
last_login*
datetime

Date of last login

ui_settings*
object

User-related frontend UI settings (e.g. locales). Rossum internal.

Default: {}
metadata*
object

Client data. May be used to store e.g. external system object IDs. See Metadata for more details.

Default: {}
oidc_id*
string | null

OIDC provider id used to match Rossum user (displayed only to admin user)

Default: null
auth_type*
"sso" | "password"

Authorization method, can be sso or password. This field can be edited only by admin.

Default: "password"
deleted*
read-only
boolean

Whether a user is deleted

Default: false
400Bad Request

Invalid input data.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

401Unauthorized

The username/password is invalid or token is invalid (e.g. expired).

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

403Forbidden

Insufficient permission, missing authentication, invalid CSRF token and similar issue.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

404Not Found

The specified resource was not found.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

409Conflict

Conflict

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

413

Payload too large (especially for files uploaded).

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

429Too Many Requests

Request rate is too high, wait before sending more requests. See Rate Limiting for more details.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

url
read-only
string

Link to the rate limiting documentation

500Internal Server Error

Server failure while processing the request.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

502Bad Gateway

Invalid response from the upstream server.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

503Service Unavailable

We're temporarily offline for maintenance. Please try again later.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

504

Upstream server could not complete the request in time.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

Login

POST api / v1 / auth / login

Authenticate with username and password to obtain an access token.

The returned key can be used for Bearer (or Token) authentication in subsequent requests:

Authorization: Bearer <key>

The token expires after a configurable period (default 162 hours). When it expires, re-authenticate to obtain a new token.

POST
/api/v1/auth/login
curl -X POST "https://example.rossum.app/api/v1/auth/login" \  -H "Content-Type: application/json" \  -d '{    "username": "east-west-trading-co@example.rossum.app",    "password": "aCo2ohghBo8Oghai"  }'
{
  "key": "db313f24f5738c8e04635e036ec8a45cdd6d6b03",
  "domain": "acme-corp.app.rossum.ai"
}
{
  "detail": "Bad Request.",
  "code": "bad_request"
}
{
  "detail": "Request was rate limited.",
  "code": "rate_limited",
  "url": "https://rossum.app/api/docs/openapi/guides/overview/#rate-limiting"
}
{
  "detail": "Server error.",
  "code": "error"
}
{
  "detail": "Bad Gateway.",
  "code": "bad_gateway"
}
{
  "detail": "Service Unavailable.",
  "code": "service_unavailable"
}
{
  "detail": "Gateway timeout.",
  "code": "gateway_timeout"
}

Request Body

application/json

Attribute
Type
Description
username*
string

Username (email address) of the user to log in.

password*
string (password)

Password of the user.

max_token_lifetime_s
number

Duration (in seconds) for which the token will be valid. Default is 162 hours, which is also the maximum.

Response

200OK

OK

Attribute
Type
Description
key*
string

Access token to use for authentication.

domain*
string

The domain the token was issued for.

400Bad Request

Invalid input data.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

429Too Many Requests

Request rate is too high, wait before sending more requests. See Rate Limiting for more details.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

url
read-only
string

Link to the rate limiting documentation

500Internal Server Error

Server failure while processing the request.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

502Bad Gateway

Invalid response from the upstream server.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

503Service Unavailable

We're temporarily offline for maintenance. Please try again later.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

504

Upstream server could not complete the request in time.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

Change password

POST api / v1 / auth / password / change

Change password of current user.

Due to security reasons, user passwords cannot be set directly using the standard CRUD operations. Instead, the following endpoints can be used for resetting and changing passwords.

Password requirements:

  • Length: 12–64 characters
  • May not be similar to username
  • May not contain common words
  • May not be numeric only
  • Must pass complexity check
POST
/api/v1/auth/password/change
curl -X POST "https://example.rossum.app/api/v1/auth/password/change" \  -H "Content-Type: application/json" \  -d '{    "new_password1": "MyNewSecurePassword",    "new_password2": "MyNewSecurePassword",    "old_password": "MyOldPassword"  }'
{
  "id": 10775,
  "url": "https://example.rossum.app/api/v1/users/10775",
  "first_name": "John",
  "last_name": "Doe",
  "email": "john-doe@east-west-trading.com",
  "phone_number": "+1-212-456-7890",
  "password": "string",
  "date_joined": "2018-09-19T13:44:56.000000Z",
  "username": "john-doe@east-west-trading.com",
  "groups": [
    "https://example.rossum.app/api/v1/groups/3"
  ],
  "organization": "https://example.rossum.app/api/v1/organizations/406",
  "queues": [
    "https://example.rossum.app/api/v1/queues/8199"
  ],
  "is_active": true,
  "last_login": "2019-02-07T16:20:18.652253Z",
  "ui_settings": {},
  "metadata": {
    "some_key": "some_value"
  },
  "oidc_id": null,
  "auth_type": "password",
  "deleted": false
}
{
  "detail": "Bad Request.",
  "code": "bad_request"
}
{
  "detail": "Invalid token.",
  "code": "authentication_failed"
}
{
  "detail": "Access to the requested resource is forbidden.",
  "code": "access_forbidden"
}
{
  "detail": "Not found.",
  "code": "not_found"
}
{
  "detail": "Conflict.",
  "code": "conflict_status"
}
{
  "detail": "Payload Too Large.",
  "code": "payload_too_large"
}
{
  "detail": "Request was rate limited.",
  "code": "rate_limited",
  "url": "https://rossum.app/api/docs/openapi/guides/overview/#rate-limiting"
}
{
  "detail": "Server error.",
  "code": "error"
}
{
  "detail": "Bad Gateway.",
  "code": "bad_gateway"
}
{
  "detail": "Service Unavailable.",
  "code": "service_unavailable"
}
{
  "detail": "Gateway timeout.",
  "code": "gateway_timeout"
}

Request Body

application/json

Attribute
Type
Description
new_password1*
string

New password

minLength: 12, maxLength: 64
new_password2*
string

New password confirmation (must match new_password1)

minLength: 12, maxLength: 64
old_password*
string

Current password

Response

200OK

OK

Attribute
Type
Description
id*
read-only
integer

ID of the user

url*
read-only
URL

URL of the user

first_name*
string

First name of the user

last_name*
string

Last name of the user

email*
read-only
string (email)

Email of the user

phone_number*
string | null

Phone number of the user

date_joined*
datetime

Date of user join

username*
string

Username of a user

groups*
list[URL]

List of user role (permission groups)

Default: []
organization*
URL

Organization URL.

queues*
list[URL]

List of queues user is assigned to

Default: []
is_active*
boolean

Whether user is enabled or disabled

Default: true
last_login*
datetime

Date of last login

ui_settings*
object

User-related frontend UI settings (e.g. locales). Rossum internal.

Default: {}
metadata*
object

Client data. May be used to store e.g. external system object IDs. See Metadata for more details.

Default: {}
oidc_id*
string | null

OIDC provider id used to match Rossum user (displayed only to admin user)

Default: null
auth_type*
"sso" | "password"

Authorization method, can be sso or password. This field can be edited only by admin.

Default: "password"
deleted*
read-only
boolean

Whether a user is deleted

Default: false
400Bad Request

Invalid input data.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

401Unauthorized

The username/password is invalid or token is invalid (e.g. expired).

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

403Forbidden

Insufficient permission, missing authentication, invalid CSRF token and similar issue.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

404Not Found

The specified resource was not found.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

409Conflict

Conflict

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

413

Payload too large (especially for files uploaded).

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

429Too Many Requests

Request rate is too high, wait before sending more requests. See Rate Limiting for more details.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

url
read-only
string

Link to the rate limiting documentation

500Internal Server Error

Server failure while processing the request.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

502Bad Gateway

Invalid response from the upstream server.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

503Service Unavailable

We're temporarily offline for maintenance. Please try again later.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

504

Upstream server could not complete the request in time.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

Reset password

POST api / v1 / auth / password / reset

Reset password to a users specified by their emails. The users are sent an email with a verification URL leading to web form, where they can set their password.

POST
/api/v1/auth/password/reset
curl -X POST "https://example.rossum.app/api/v1/auth/password/reset" \  -H "Content-Type: application/json" \  -d '{    "email": "user@example.com"  }'
{
  "detail": "Password reset e-mail has been sent."
}
{
  "detail": "Bad Request.",
  "code": "bad_request"
}
{
  "detail": "Invalid token.",
  "code": "authentication_failed"
}
{
  "detail": "Access to the requested resource is forbidden.",
  "code": "access_forbidden"
}
{
  "detail": "Not found.",
  "code": "not_found"
}
{
  "detail": "Conflict.",
  "code": "conflict_status"
}
{
  "detail": "Payload Too Large.",
  "code": "payload_too_large"
}
{
  "detail": "Request was rate limited.",
  "code": "rate_limited",
  "url": "https://rossum.app/api/docs/openapi/guides/overview/#rate-limiting"
}
{
  "detail": "Server error.",
  "code": "error"
}
{
  "detail": "Bad Gateway.",
  "code": "bad_gateway"
}
{
  "detail": "Service Unavailable.",
  "code": "service_unavailable"
}
{
  "detail": "Gateway timeout.",
  "code": "gateway_timeout"
}

Request Body

application/json

Attribute
Type
Description
email*
string (email)

Email of the user to reset password for

Response

200OK

OK

Attribute
Type
Description
detail
string
400Bad Request

Invalid input data.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

401Unauthorized

The username/password is invalid or token is invalid (e.g. expired).

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

403Forbidden

Insufficient permission, missing authentication, invalid CSRF token and similar issue.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

404Not Found

The specified resource was not found.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

409Conflict

Conflict

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

413

Payload too large (especially for files uploaded).

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

429Too Many Requests

Request rate is too high, wait before sending more requests. See Rate Limiting for more details.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

url
read-only
string

Link to the rate limiting documentation

500Internal Server Error

Server failure while processing the request.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

502Bad Gateway

Invalid response from the upstream server.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

503Service Unavailable

We're temporarily offline for maintenance. Please try again later.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

504

Upstream server could not complete the request in time.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

Retrieve current user

GET api / v1 / auth / user

Get user object for the currently authorized user.

GET
/api/v1/auth/user
curl -X GET "https://example.rossum.app/api/v1/auth/user"
{
  "id": 10775,
  "url": "https://example.rossum.app/api/v1/users/10775",
  "first_name": "John",
  "last_name": "Doe",
  "email": "john-doe@east-west-trading.com",
  "phone_number": "+1-212-456-7890",
  "password": "string",
  "date_joined": "2018-09-19T13:44:56.000000Z",
  "username": "john-doe@east-west-trading.com",
  "groups": [
    "https://example.rossum.app/api/v1/groups/3"
  ],
  "organization": "https://example.rossum.app/api/v1/organizations/406",
  "queues": [
    "https://example.rossum.app/api/v1/queues/8199"
  ],
  "is_active": true,
  "last_login": "2019-02-07T16:20:18.652253Z",
  "ui_settings": {},
  "metadata": {
    "some_key": "some_value"
  },
  "oidc_id": null,
  "auth_type": "password",
  "deleted": false
}
{
  "detail": "Bad Request.",
  "code": "bad_request"
}
{
  "detail": "Invalid token.",
  "code": "authentication_failed"
}
{
  "detail": "Access to the requested resource is forbidden.",
  "code": "access_forbidden"
}
{
  "detail": "Not found.",
  "code": "not_found"
}
{
  "detail": "Conflict.",
  "code": "conflict_status"
}
{
  "detail": "Request was rate limited.",
  "code": "rate_limited",
  "url": "https://rossum.app/api/docs/openapi/guides/overview/#rate-limiting"
}
{
  "detail": "Server error.",
  "code": "error"
}
{
  "detail": "Bad Gateway.",
  "code": "bad_gateway"
}
{
  "detail": "Service Unavailable.",
  "code": "service_unavailable"
}
{
  "detail": "Gateway timeout.",
  "code": "gateway_timeout"
}

Response

200OK

OK

Attribute
Type
Description
id*
read-only
integer

ID of the user

url*
read-only
URL

URL of the user

first_name*
string

First name of the user

last_name*
string

Last name of the user

email*
read-only
string (email)

Email of the user

phone_number*
string | null

Phone number of the user

date_joined*
datetime

Date of user join

username*
string

Username of a user

groups*
list[URL]

List of user role (permission groups)

Default: []
organization*
URL

Organization URL.

queues*
list[URL]

List of queues user is assigned to

Default: []
is_active*
boolean

Whether user is enabled or disabled

Default: true
last_login*
datetime

Date of last login

ui_settings*
object

User-related frontend UI settings (e.g. locales). Rossum internal.

Default: {}
metadata*
object

Client data. May be used to store e.g. external system object IDs. See Metadata for more details.

Default: {}
oidc_id*
string | null

OIDC provider id used to match Rossum user (displayed only to admin user)

Default: null
auth_type*
"sso" | "password"

Authorization method, can be sso or password. This field can be edited only by admin.

Default: "password"
deleted*
read-only
boolean

Whether a user is deleted

Default: false
400Bad Request

Invalid input data.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

401Unauthorized

The username/password is invalid or token is invalid (e.g. expired).

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

403Forbidden

Insufficient permission, missing authentication, invalid CSRF token and similar issue.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

404Not Found

The specified resource was not found.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

409Conflict

Conflict

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

429Too Many Requests

Request rate is too high, wait before sending more requests. See Rate Limiting for more details.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

url
read-only
string

Link to the rate limiting documentation

500Internal Server Error

Server failure while processing the request.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

502Bad Gateway

Invalid response from the upstream server.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

503Service Unavailable

We're temporarily offline for maintenance. Please try again later.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

504

Upstream server could not complete the request in time.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

Partial update current user

PATCH api / v1 / auth / user

Update part of the currently authorized user. Fields organization, groups, and queues are read-only at this endpoint; use partial update user to modify them.

PATCH
/api/v1/auth/user
curl -X PATCH "https://example.rossum.app/api/v1/auth/user" \  -H "Content-Type: application/json" \  -d '{}'
{
  "id": 10775,
  "url": "https://example.rossum.app/api/v1/users/10775",
  "first_name": "John",
  "last_name": "Doe",
  "email": "john-doe@east-west-trading.com",
  "phone_number": "+1-212-456-7890",
  "password": "string",
  "date_joined": "2018-09-19T13:44:56.000000Z",
  "username": "john-doe@east-west-trading.com",
  "groups": [
    "https://example.rossum.app/api/v1/groups/3"
  ],
  "organization": "https://example.rossum.app/api/v1/organizations/406",
  "queues": [
    "https://example.rossum.app/api/v1/queues/8199"
  ],
  "is_active": true,
  "last_login": "2019-02-07T16:20:18.652253Z",
  "ui_settings": {},
  "metadata": {
    "some_key": "some_value"
  },
  "oidc_id": null,
  "auth_type": "password",
  "deleted": false
}
{
  "detail": "Bad Request.",
  "code": "bad_request"
}
{
  "detail": "Invalid token.",
  "code": "authentication_failed"
}
{
  "detail": "Access to the requested resource is forbidden.",
  "code": "access_forbidden"
}
{
  "detail": "Not found.",
  "code": "not_found"
}
{
  "detail": "Conflict.",
  "code": "conflict_status"
}
{
  "detail": "Payload Too Large.",
  "code": "payload_too_large"
}
{
  "detail": "Request was rate limited.",
  "code": "rate_limited",
  "url": "https://rossum.app/api/docs/openapi/guides/overview/#rate-limiting"
}
{
  "detail": "Server error.",
  "code": "error"
}
{
  "detail": "Bad Gateway.",
  "code": "bad_gateway"
}
{
  "detail": "Service Unavailable.",
  "code": "service_unavailable"
}
{
  "detail": "Gateway timeout.",
  "code": "gateway_timeout"
}

Request Body

application/json

Attribute
Type
Description
first_name
string

First name of the user

last_name
string

Last name of the user

phone_number
string | null

Phone number of the user

password
write-only
string

Password (not shown on API)

date_joined
datetime

Date of user join

username
string

Username of a user

groups
list[URL]

List of user role (permission groups)

Default: []
organization
URL

Organization URL.

queues
list[URL]

List of queues user is assigned to

Default: []
is_active
boolean

Whether user is enabled or disabled

Default: true
last_login
datetime

Date of last login

ui_settings
object

User-related frontend UI settings (e.g. locales). Rossum internal.

Default: {}
metadata
object

Client data. May be used to store e.g. external system object IDs. See Metadata for more details.

Default: {}
oidc_id
string | null

OIDC provider id used to match Rossum user (displayed only to admin user)

Default: null
auth_type
"sso" | "password"

Authorization method, can be sso or password. This field can be edited only by admin.

Default: "password"

Response

200OK

OK

Attribute
Type
Description
id*
read-only
integer

ID of the user

url*
read-only
URL

URL of the user

first_name*
string

First name of the user

last_name*
string

Last name of the user

email*
read-only
string (email)

Email of the user

phone_number*
string | null

Phone number of the user

date_joined*
datetime

Date of user join

username*
string

Username of a user

groups*
list[URL]

List of user role (permission groups)

Default: []
organization*
URL

Organization URL.

queues*
list[URL]

List of queues user is assigned to

Default: []
is_active*
boolean

Whether user is enabled or disabled

Default: true
last_login*
datetime

Date of last login

ui_settings*
object

User-related frontend UI settings (e.g. locales). Rossum internal.

Default: {}
metadata*
object

Client data. May be used to store e.g. external system object IDs. See Metadata for more details.

Default: {}
oidc_id*
string | null

OIDC provider id used to match Rossum user (displayed only to admin user)

Default: null
auth_type*
"sso" | "password"

Authorization method, can be sso or password. This field can be edited only by admin.

Default: "password"
deleted*
read-only
boolean

Whether a user is deleted

Default: false
400Bad Request

Invalid input data.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

401Unauthorized

The username/password is invalid or token is invalid (e.g. expired).

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

403Forbidden

Insufficient permission, missing authentication, invalid CSRF token and similar issue.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

404Not Found

The specified resource was not found.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

409Conflict

Conflict

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

413

Payload too large (especially for files uploaded).

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

429Too Many Requests

Request rate is too high, wait before sending more requests. See Rate Limiting for more details.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

url
read-only
string

Link to the rate limiting documentation

500Internal Server Error

Server failure while processing the request.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

502Bad Gateway

Invalid response from the upstream server.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

503Service Unavailable

We're temporarily offline for maintenance. Please try again later.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

504

Upstream server could not complete the request in time.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

Update current user

PUT api / v1 / auth / user

Update the currently authorized user. Fields organization, groups, and queues are read-only at this endpoint; use update user to modify them.

PUT
/api/v1/auth/user
curl -X PUT "https://example.rossum.app/api/v1/auth/user" \  -H "Content-Type: application/json" \  -d '{}'
{
  "id": 10775,
  "url": "https://example.rossum.app/api/v1/users/10775",
  "first_name": "John",
  "last_name": "Doe",
  "email": "john-doe@east-west-trading.com",
  "phone_number": "+1-212-456-7890",
  "password": "string",
  "date_joined": "2018-09-19T13:44:56.000000Z",
  "username": "john-doe@east-west-trading.com",
  "groups": [
    "https://example.rossum.app/api/v1/groups/3"
  ],
  "organization": "https://example.rossum.app/api/v1/organizations/406",
  "queues": [
    "https://example.rossum.app/api/v1/queues/8199"
  ],
  "is_active": true,
  "last_login": "2019-02-07T16:20:18.652253Z",
  "ui_settings": {},
  "metadata": {
    "some_key": "some_value"
  },
  "oidc_id": null,
  "auth_type": "password",
  "deleted": false
}
{
  "detail": "Bad Request.",
  "code": "bad_request"
}
{
  "detail": "Invalid token.",
  "code": "authentication_failed"
}
{
  "detail": "Access to the requested resource is forbidden.",
  "code": "access_forbidden"
}
{
  "detail": "Not found.",
  "code": "not_found"
}
{
  "detail": "Conflict.",
  "code": "conflict_status"
}
{
  "detail": "Payload Too Large.",
  "code": "payload_too_large"
}
{
  "detail": "Request was rate limited.",
  "code": "rate_limited",
  "url": "https://rossum.app/api/docs/openapi/guides/overview/#rate-limiting"
}
{
  "detail": "Server error.",
  "code": "error"
}
{
  "detail": "Bad Gateway.",
  "code": "bad_gateway"
}
{
  "detail": "Service Unavailable.",
  "code": "service_unavailable"
}
{
  "detail": "Gateway timeout.",
  "code": "gateway_timeout"
}

Request Body

application/json

Attribute
Type
Description
first_name
string

First name of the user

last_name
string

Last name of the user

phone_number
string | null

Phone number of the user

password
write-only
string

Password (not shown on API)

date_joined
datetime

Date of user join

username*
string

Username of a user

groups
list[URL]

List of user role (permission groups)

Default: []
organization
URL

Organization URL.

queues
list[URL]

List of queues user is assigned to

Default: []
is_active
boolean

Whether user is enabled or disabled

Default: true
last_login
datetime

Date of last login

ui_settings
object

User-related frontend UI settings (e.g. locales). Rossum internal.

Default: {}
metadata
object

Client data. May be used to store e.g. external system object IDs. See Metadata for more details.

Default: {}
oidc_id
string | null

OIDC provider id used to match Rossum user (displayed only to admin user)

Default: null
auth_type
"sso" | "password"

Authorization method, can be sso or password. This field can be edited only by admin.

Default: "password"

Response

200OK

OK

Attribute
Type
Description
id*
read-only
integer

ID of the user

url*
read-only
URL

URL of the user

first_name*
string

First name of the user

last_name*
string

Last name of the user

email*
read-only
string (email)

Email of the user

phone_number*
string | null

Phone number of the user

date_joined*
datetime

Date of user join

username*
string

Username of a user

groups*
list[URL]

List of user role (permission groups)

Default: []
organization*
URL

Organization URL.

queues*
list[URL]

List of queues user is assigned to

Default: []
is_active*
boolean

Whether user is enabled or disabled

Default: true
last_login*
datetime

Date of last login

ui_settings*
object

User-related frontend UI settings (e.g. locales). Rossum internal.

Default: {}
metadata*
object

Client data. May be used to store e.g. external system object IDs. See Metadata for more details.

Default: {}
oidc_id*
string | null

OIDC provider id used to match Rossum user (displayed only to admin user)

Default: null
auth_type*
"sso" | "password"

Authorization method, can be sso or password. This field can be edited only by admin.

Default: "password"
deleted*
read-only
boolean

Whether a user is deleted

Default: false
400Bad Request

Invalid input data.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

401Unauthorized

The username/password is invalid or token is invalid (e.g. expired).

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

403Forbidden

Insufficient permission, missing authentication, invalid CSRF token and similar issue.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

404Not Found

The specified resource was not found.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

409Conflict

Conflict

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

413

Payload too large (especially for files uploaded).

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

429Too Many Requests

Request rate is too high, wait before sending more requests. See Rate Limiting for more details.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

url
read-only
string

Link to the rate limiting documentation

500Internal Server Error

Server failure while processing the request.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

502Bad Gateway

Invalid response from the upstream server.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

503Service Unavailable

We're temporarily offline for maintenance. Please try again later.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

504

Upstream server could not complete the request in time.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

Retrieve password score

POST api / v1 / auth / password / score

Score to allow users to see how strong their password is from 0 (risky password) to 4 (strong password).

POST
/api/v1/auth/password/score
curl -X POST "https://example.rossum.app/api/v1/auth/password/score" \  -H "Content-Type: application/json" \  -d '{    "password": "MySecureP@ssw0rd"  }'
{
  "score": 2,
  "messages": [
    "Add another word or two. Uncommon words are better."
  ]
}
{
  "detail": "Bad Request.",
  "code": "bad_request"
}
{
  "detail": "Invalid token.",
  "code": "authentication_failed"
}
{
  "detail": "Access to the requested resource is forbidden.",
  "code": "access_forbidden"
}
{
  "detail": "Not found.",
  "code": "not_found"
}
{
  "detail": "Conflict.",
  "code": "conflict_status"
}
{
  "detail": "Payload Too Large.",
  "code": "payload_too_large"
}
{
  "detail": "Request was rate limited.",
  "code": "rate_limited",
  "url": "https://rossum.app/api/docs/openapi/guides/overview/#rate-limiting"
}
{
  "detail": "Server error.",
  "code": "error"
}
{
  "detail": "Bad Gateway.",
  "code": "bad_gateway"
}
{
  "detail": "Service Unavailable.",
  "code": "service_unavailable"
}
{
  "detail": "Gateway timeout.",
  "code": "gateway_timeout"
}

Request Body

application/json

Attribute
Type
Description
password*
string

Password to be scored

email
string (email)

Email of the user

first_name
string

First name of the user

last_name
string

Last name of the user

Response

200OK

OK

Attribute
Type
Description
score
integer

Password strength score from 0 (risky password) to 4 (strong password)

min: 0, max: 4
messages
list[string]

Suggestions from the validators

400Bad Request

Invalid input data.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

401Unauthorized

The username/password is invalid or token is invalid (e.g. expired).

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

403Forbidden

Insufficient permission, missing authentication, invalid CSRF token and similar issue.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

404Not Found

The specified resource was not found.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

409Conflict

Conflict

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

413

Payload too large (especially for files uploaded).

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

429Too Many Requests

Request rate is too high, wait before sending more requests. See Rate Limiting for more details.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

url
read-only
string

Link to the rate limiting documentation

500Internal Server Error

Server failure while processing the request.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

502Bad Gateway

Invalid response from the upstream server.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

503Service Unavailable

We're temporarily offline for maintenance. Please try again later.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error

504

Upstream server could not complete the request in time.

Attribute
Type
Description
detail
read-only
string

Detail of the error

code
read-only
string

Code of the error