Skip to Content

Read the form document

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/forms/{id}/document

Read the independently owned document base, fields and parties. Field and party IDs belong to this form, not its source template. Signature methods use the standard public API aliases.

Authorization

headerAuthorizationBearer <token>

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

Path Parameters

id*string

Header Parameters

authorization*string

Bearer token for API authentication

Response Body

200

application/json
  1. response
id*string
name*string
templateMeta*|null
fields*array<>

Fields in position order

parties*array<>
Example Request
curl -X GET 'https://app.sajn.se/api/v1/forms/string/document' \  -H 'authorization: string'
Example Response
{  "id": "string",  "name": "string",  "templateMeta": {    "signingOrder": "PARALLEL",    "forceReadFullDocument": true,    "showChatToSigners": true,    "preferredLanguage": "sv",    "value": "string",    "signableAfterExpired": true,    "sendPlainTextEmailOnly": true,    "allowDelegation": true,    "reminderIntervalDays": "string",    "responsibleUserId": "string",    "accessVerification": "NONE",    "internalRecipients": [      "user@example.com"    ],    "visibility": "EVERYONE",    "selectedUserIds": [      "string"    ],    "ssnDisplayMode": "FULL",    "sameDeviceSigning": true,    "documentCategoryId": "string"  },  "fields": [    {      "id": "string",      "documentId": "string",      "templateId": "string",      "type": "TEXT",      "position": 0,      "fieldMeta": {        "type": "TEXT",        "content": "string",        "locked": true,        "sectionStyle": {          "background": "none",          "padding": "none",          "bleed": true,          "border": true        },        "visibilityRule": {          "customInputId": "string",          "equals": "string",          "mode": "SHOW_WHEN"        },        "hidden": true      },      "createdAt": null,      "updatedAt": null    }  ],  "parties": [    {      "id": "string",      "templateId": "string",      "name": "string",      "email": "string",      "phone": "string",      "type": "INDIVIDUAL",      "role": "SIGNER",      "signingOrder": 0,      "contactId": "string",      "companyId": "string",      "companyName": "string",      "companyRole": "string",      "companyOrgNumber": "string",      "externalId": "string",      "ssn": "string",      "country": "string",      "requiredSignature": "NONE",      "deliveryMethod": "EMAIL",      "twoStepVerification": "NONE",      "createdAt": null,      "updatedAt": null    }  ]}

Was this page helpful?