Skip to main content
GET
/
agreements
/
{agreementId}
Get Agreement
curl --request GET \
  --url https://api.mijnklantportaal.nl/v1/agreements/{agreementId} \
  --header 'Authorization: Bearer <token>'
{
  "id": "agr_abc12346def678",
  "name": "Service contract",
  "status": "sent",
  "signerName": "John Doe",
  "signerSignature": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAA...",
  "signerSignatureHash": "PwZVOc2K5rqcpqljbM2xkzJub9FtmA307pvuoJXoiqHDuEyZB7NVqdKbb3SPXt1P",
  "signers": [
    {
      "id": "ags_abc12346def678",
      "firstName": "Dirk Jan",
      "lastName": "Bakker",
      "email": "dj.bakker@domain.com",
      "shouldIdentify": true,
      "signature": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAA...",
      "signatureHash": "PwZVOc2K5rqcpqljbM2xkzJub9FtmA307pvuoJXoiqHDuEyZB7NVqdKbb3SPXt1P",
      "signedAt": "2025-09-13T17:23:14+02:00"
    }
  ],
  "documents": [
    {
      "id": "agd_abc12346def678",
      "documentName": "Contract version_2.pdf",
      "fileSize": 512,
      "fileHash": "PwZVOc2K5rqcpqljbM2xkzJub9FtmA307pvuoJXoiqHDuEyZB7NVqdKbb3SPXt1P"
    }
  ],
  "createdAt": "2025-09-13T17:23:14+02:00"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

agreementId
string
required

ID of the agreement to fetch

Response

Getting the requested agreement

Agreement with details

id
string

ID of the agreement, always starting with agr_.

Example:

"agr_abc12346def678"

name
string

Name of the agreement

Example:

"Service contract"

status
string

Status of the agreement. Can be sent or signed.

Example:

"sent"

signerName
string

Name of the person who signed in name of the company of the portal

Example:

"John Doe"

signerSignature
string

Base64-encoded string of the signature image

Example:

"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAA..."

signerSignatureHash
string

Hash of the signerSignature in combination with the signing datetime to ensure integrity

Example:

"PwZVOc2K5rqcpqljbM2xkzJub9FtmA307pvuoJXoiqHDuEyZB7NVqdKbb3SPXt1P"

signers
object[] | null

An array with the signer(s) for this agreement

documents
object[] | null

An array with the document(s) for this agreement

createdAt
string

Date and time when the agreement is created in MijnKlantportaal, written in ATOM format.

Example:

"2025-09-13T17:23:14+02:00"

I