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": "[email protected]",
"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"
}Get an Agreement by ID
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": "[email protected]",
"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"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
ID of the agreement to fetch
Getting the requested agreement
Agreement with details
ID of the agreement, always starting with agr_.
"agr_abc12346def678"
Name of the agreement
"Service contract"
Status of the agreement. Can be sent or signed.
"sent"
Name of the person who signed in name of the company of the portal
"John Doe"
Base64-encoded string of the signature image
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAA..."
Hash of the signerSignature in combination with the signing datetime to ensure integrity
"PwZVOc2K5rqcpqljbM2xkzJub9FtmA307pvuoJXoiqHDuEyZB7NVqdKbb3SPXt1P"
An array with the signer(s) for this agreement
Show child attributes
An array with the document(s) for this agreement
Show child attributes
Date and time when the agreement is created in MijnKlantportaal, written in ATOM format.
"2025-09-13T17:23:14+02:00"