Skip to main content
POST
Every shared user is assigned a role — Scanova’s dashboard calls these “access levels” internally, and the same term appears throughout this endpoint. Use this endpoint to look up available roles before inviting a teammate via POST /multi-users/, or to create a custom role from your own systems.
This endpoint was not previously documented. It requires an API key with MANAGEMENT_API (or MANAGEMENT_API_SANDBOX) quota — see the API overview. For what each role actually grants a teammate, see the human-facing Roles & permissions guide — this page only documents the wire format.
Creating custom roles requires a dedicated quota on the account’s plan (the same gate that hides the dashboard’s Roles tab on unsupported plans — see Custom roles are plan-gated). A 403 here means the plan doesn’t include it.
string
required
Role name. Must be unique among this account’s roles — a duplicate returns a 400 with {"name": ["Can not create another user role with the same name."]}.
array
required
Permission IDs to grant, from the permissions[].id values in the list response above.
To discover permission IDs, either read them off an existing role’s permissions array (every account has at least the 6 system roles to inspect), or use List permission categories for the full, category-grouped catalog independent of any one role.

Authorizations

Authorization
string
header
required

Send your Management API key as the raw value of the Authorization header — no "Bearer " or "Token " prefix, and no other characters. Example: Authorization: YOUR_API_KEY. A header containing more than one space-separated part is rejected outright. Requests also require the request's Host header to be the management API host (e.g. api.scanova.io) — the same key sent to the regular API host will not authenticate.

Body

application/json
name
string
required
permissions
integer[]
required

Permission IDs from an existing role's permissions[].id values.

Response

201 - application/json

Custom role created. Requires the account's custom-roles plan quota.