Skip to main content

List seat assignments in the application's user scope

List seat assignments in the application's user scope. GET /api/openapi/v1/seats, scope admin.v1.user-directory.read.

  • Scope: admin.v1.user-directory.read
  • Permission: Read users and departments (user-directory)
  • Permission type: Read
  • Endpoint: GET/api/openapi/v1/seats

Authentication and request headers

Call with an application API key. This endpoint checks only the scope above; read, manage and execute permissions do not imply one another.
NameLocationTypeRequiredDescriptionExample
AuthorizationheaderstringYesApplication API key, passed as a Bearer token.Bearer qwk_***
X-Request-IdheaderstringNoOptional request tracing identifier; generated by the server if omitted.req-20260831-001

Request parameters

This endpoint has no additional request parameters.

Request example

cURL

Responses

200 OK
NameTypeRequiredDescriptionExample
assigned_seatsinteger · int64YesAssigned seats0
available_seatsinteger · int64YesAvailable seats0
data_as_ofstring · date-timeYesData updated at"2026-08-27T10:00:00Z"
data_statusstringYesData status"fresh"
total_seatsinteger · int64YesTotal seats0
updated_atstring · date-timeYesUpdated at"2026-08-27T10:00:00Z"
Response example
default Flat business error
NameTypeRequiredDescriptionExample
codestringNoStable business error code"<string>"
detailstringYesHuman-readable error description"<string>"
detailsOpenapiErrorDetailsNoError details{"field":"<string>","reason":"<string>","suggestion":"<string>"}
details.fieldstringNoRequest field that failed validation"<string>"
details.reasonstringNoStable validation failure reason"<string>"
details.suggestionstringNoSuggested normalized value"<string>"
errorstringYesStable HTTP error type"<string>"
Response example
List seat assignments in the application's user scope - QwenWork