Agreement Documents
Get agreement document
Returns the rendered prose document associated with an agreement documentId. Access requires the same authorization as reading the agreement record.
get/v0/agreements/documents/{documentId}
Request
- Base URL: https://test-api.shodai.network
- URL: https://test-api.shodai.network/v0/agreements/documents/{documentId}
- Auth: one of:
- API key in header X-API-Key
- HTTP bearer
Path parameters
documentIdstring required
Opaque hosted agreement document identifier.
Response
Rendered agreement prose document.
Example response
{
"data": {
"documentId": "7b0f6c2d-3e4f-4a5b-8c9d-0e1f2a3b4c5d",
"docUri": "https://test-api.shodai.network/v0/agreements/documents/7b0f6c2d-3e4f-4a5b-8c9d-0e1f2a3b4c5d",
"agreementId": "agr_123",
"agreementAddress": "0x3333333333333333333333333333333333333333",
"chainId": 59141,
"displayName": "Advisory Retainer",
"contentType": "text/markdown",
"content": "# Advisory Retainer\n\nService agreement between provider and client.",
"docHash": "0x325698d320b8d4e884a856480df1d934877cb71cd39f08bd3c5a268bd21d82db",
"updatedAt": "2026-04-27T16:05:00.000Z"
},
"meta": {
"apiVersion": "v0"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.