Contracts
Retrieves contract metadata
Changed onReturns this contract's metadata values keyed by definition key. Keys with no value are omitted, including values held by archived definitions, which stay readable here. Definition names, types and status come from list-all-metadata-definitions.
get/contracts/{contract_id}/metadata
Request
- Base URLhttps://api.rillet.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
contract_idstring required
UUID of the contract to retrieve metadata for.
Response
OK
Example response
{
"metadata": {
"metadata.source_invoice_id": "NS-INV-004821"
}
}Changes
- info
endpoint added
- info