Record Consent
record_consentIdempotent
Record acceptance of a legal document version and return the entry; call this only after showing the user the document URL and version and receiving an explicit affirmative answer.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tenant_id | No | ||
| authorization | Yes | ||
| document_code | Yes | ||
| document_version | Yes |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| source | Yes | ||
| tenant_id | No | ||
| granted_at | Yes | ||
| subject_sub | Yes | ||
| document_code | Yes | ||
| document_version | Yes |