agreements.download
Get a one-minute download link for an agreement sent to you, optionally one version.
GETPOST
/api/v1/contractor/agreements.downloadPermissions
contractor:read
Who can call it
contractor
Retries
Safe to retry: it only reads
MCP
contractor_agreements_downloadFields
idstring (ID)RequiredThe record's ID.
versionintegerat most 9007199254740991 · greater than 0
Example
curl -G https://app.getoatmilk.com/api/v1/contractor/agreements.download \
-H "Authorization: Bearer $OATMILK_OAUTH_TOKEN" \
-H "X-Accounting-Organization: $OATMILK_ORGANIZATION_ID" \
--data-urlencode 'id=9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d'{
"data": { … }
}Try it
Try it
Checks your input with this action’s real schema and answers like the API, with synthetic data. No key needed, and nothing changes.
GET/api/v1/contractor/agreements.download
curl -G https://app.getoatmilk.com/api/v1/contractor/agreements.download \
-H "Authorization: Bearer $OATMILK_OAUTH_TOKEN" \
-H "X-Accounting-Organization: $OATMILK_ORGANIZATION_ID" \
--data-urlencode 'id=9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d'More in Contractor portal.