consents_list
Consent records the workspace uploaded. A consent lifts the rules that need one (consent-only countries such as Germany, sole traders, missing publication evidence); it never lifts an opt-out made after it, a personal mailbox or an unknown country. Only a hash of the address is stored, so filter with email= rather than reading addresses back.
Method: GET /api/v1/workspaces/{workspace_sqid}/consents/
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "consents_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lead | No | Lead sqid. | |
| No | Address (matched by hash). | ||
| limit | No | Number of results to return per page. | |
| active | No | Only usable (or only revoked/rejected) records. | |
| offset | No | The initial index from which to return the results. | |
| review_status | No | '' (not selected), pending, accepted, rejected. |