Skip to Content

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
/api/v1/document-categories

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.

Authorization

headerAuthorizationBearer <token>

Personal API key, e.g. Authorization: Bearer sajn_sk_.... Not scope-limited — acts as the issuing user.

Header Parameters

authorization*string

Bearer token for API authentication

Response Body

200

application/json
  1. response
documentCategories*array<>
Example Request
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?