Skip to Content
Document parties

Get a party with signing URL

GET
/api/v1/documents/{id}/parties/{partyId}

Retrieve a specific party including their signing URL.

Security Note: This endpoint creates an audit log entry each time a signing URL is accessed. Use this endpoint when you need the signing URL to share with the party.

Response includes:

  • Party details (name, email, phone, company info)
  • Signing status (NOT_SIGNED, SIGNED, REJECTED)
  • Read status (NOT_OPENED, OPENED, READ)
  • Complete signing URL with token

Authorization

headerAuthorizationBearer <token>

API key, e.g. Authorization: Bearer sajn_svc_.... Not scope-limited: acts with its owner's workspace role.

Path Parameters

id*string

The document ID.

partyId*string

The party ID.

Header Parameters

Sajn-Version?string

API version for this request. Without it, the request uses the organization's default version; an organization without a default is pinned to the latest version by its first request.

Value in"2026-09""2026-10"
Sajn-Workspace?string

ID of the workspace this request acts in, from GET /api/v1/workspaces. Without it, an API key acts in its default workspace. The token's user must be a member of the workspace; an OAuth token only accepts the workspace it was granted for. A workspace that doesn't exist or can't be reached returns 403 WORKSPACE_ACCESS_DENIED.

Response Body

200

application/json
  1. response
id*string

The party ID

documentId*string

The ID of the document the party belongs to

email*|

Signer email address

Match^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
Formatemail
name*string

Signer full name

phone*|

Signer phone number (for SMS notifications)

type*string

Party type: INDIVIDUAL or COMPANY

Value in"INDIVIDUAL""COMPANY"
company*|

The company the party signs for, or null for a private individual

externalId*|

Your external reference ID for this signer

contactId*|

ID of the contact this party was created from, if any

nationalId*|

National identity number supplied by the sender when creating the document. Optional — BankID works without it, falling back to a name check. This is input and is never overwritten with what the eID verified: read the verified identity from GET /api/v1/documents/{id}/signatures.

country*|

ISO 3166-1 alpha-2 country code of the party, such as SE

role*string

Signer role: SIGNER, ORGANIZER, or REVIEWER

Value in"SIGNER""ORGANIZER""REVIEWER"
signingOrder*|

Order for sequential signing (null for parallel)

signedAt*|

Date and time when the signer signed (null if not signed)

Formatdate-time
readStatus*string

Read status: NOT_OPENED, OPENED, or READ

Value in"NOT_OPENED""OPENED""READ"
signingStatus*string

Signing status: NOT_SIGNED, SIGNED, or REJECTED

Value in"NOT_SIGNED""SIGNED""REJECTED"
delivery*array<>

How the party gets the invitation: ["EMAIL"], ["SMS"], ["EMAIL", "SMS"] for both, or ["IN_APP"] to sign in person on your device. [] sends nothing, so you share the signing URL yourself. Each channel needs the matching contact detail.

signatureMethod*|

How the party signs: DRAWING, SE_BANKID, CLICK_TO_SIGN, or another eID.

Value in"NONE""DRAWING""SE_BANKID""MANUAL""CLICK_TO_SIGN""NO_BANKID_BIOMETRIC""NO_BANKID_HIGH""NO_QES""DK_MITID""DK_MITID_ERHVERV""FI_FTN""NL_IDIN""ZEALID_QES"null
signVerification*|

Verification the party passes before signing: PIN, SMS, EMAIL, or an eID such as SE_BANKID. null means none. Call GET /api/v1/helpers/two-step-verifications for the methods your account can use.

Value in"PIN""SMS""EMAIL""SE_BANKID""NO_BANKID_BIOMETRIC""NO_BANKID_HIGH""DK_MITID""DK_MITID_ERHVERV""FI_FTN""NL_IDIN"null
openVerification*|

Verification this party passes before the document opens, in place of the document's openVerification: SMS, EMAIL, or an eID such as SE_BANKID. null uses the document's. PIN only gates signing, so it isn't accepted here.

Value in"PIN""SMS""EMAIL""SE_BANKID""NO_BANKID_BIOMETRIC""NO_BANKID_HIGH""DK_MITID""DK_MITID_ERHVERV""FI_FTN""NL_IDIN"null
sendStatus*|

Send status: NOT_SENT, SENT, DELIVERED, BOUNCED, or FAILED

Value in"NOT_SENT""SENT""DELIVERED""BOUNCED""FAILED"null
signingUrl*string

Complete signing URL for this signer

identityVerified*boolean

True when an eID verified this signer — either by signing with one or by passing an eID verification gate.

identityMismatch*boolean

True when an eID completed, the identity did not match the intended signer, and the signature was still recorded — read GET /api/v1/documents/{id}/signatures to see what differed. Stays false when the workspace requires a national ID match to sign and the attempt was refused, because no signature exists; those attempts appear only in the document audit trail.

createdAt*string

When the party was added to the document

Formatdate-time
Example Request
curl -X GET 'https://app.sajn.se/api/v1/documents/cm4k2x9p10003abcd1234efgh/parties/cm4k2x9p10004abcd1234efgh'
Example Response
{  "id": "cm4k2x9p10004abcd1234efgh",  "documentId": "cm4k2x9p10003abcd1234efgh",  "email": "kai@example.com",  "name": "Kai Lindqvist",  "phone": "+46701740605",  "type": "INDIVIDUAL",  "company": null,  "externalId": "HR-2026-0142",  "contactId": "cm4k2x9p10006abcd1234efgh",  "nationalId": "191212121212",  "country": "SE",  "role": "SIGNER",  "signingOrder": 1,  "signedAt": "2026-09-29T07:41:00.000Z",  "readStatus": "READ",  "signingStatus": "SIGNED",  "delivery": [    "EMAIL"  ],  "signatureMethod": "SE_BANKID",  "signVerification": "PIN",  "openVerification": "PIN",  "sendStatus": "DELIVERED",  "signingUrl": "https://app.sajn.se/sign/cm4k2x9p10003abcd1234efgh?token=Xk9mQ2vR7tLp4wZs8nYb3",  "identityVerified": true,  "identityMismatch": false,  "createdAt": "2026-09-28T09:12:00.000Z"}

Was this page helpful?