List document categories
You're viewing API version
2026-09, which is deprecated and stops working on October 1, 2027. To move your integration, see Upgrading to 2026-10.GET
Retrieve every document category (Dokumenttyp) in the workspace, sorted by name.
A category scopes which custom fields apply to a document. Use an id from this list as documentMeta.documentCategoryId when creating or updating a document, or as templateMeta.documentCategoryId on a template.
header
AuthorizationBearer <token>Personal API key, e.g. Authorization: Bearer sajn_sk_.... Not scope-limited — acts as the issuing user.
200
application/json- response
documentCategories*array<>curl -X GET 'https://app.sajn.se/api/v1/document-categories' \ -H 'authorization: string'Example Response
{ "documentCategories": [ { "id": "string", "name": "string", "customInputIds": [ "string" ], "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" } ]}Was this page helpful?