Record a paper or staff consent
Record that a person agreed on paper or in person, or withdraw a consent for them, with the evidence reference.
Owners, admins and registrars of the organization. You use the API, because the hosted consents page manages purposes only.
A consent record is evidence. It says who agreed, when, to which wording and who gave it. A wrong record can claim an agreement that never happened.
What you will do, in one sentence
Send the purpose, the person, the action and an evidence reference, and name the guardian when the person is a minor.
Screens are captured from a seeded test system. Every name, address and number on the screens is invented. Prepared 15 November 2026.
This is not legal advice. Which purposes need consent, who may consent for a minor, and how long evidence must be kept depend on your country. Have a lawyer review your process.
1. When staff record a consent
People normally consent through the signed-in routes themselves, or a guardian does it for a child. Staff record a consent when the person agreed on paper or in person.
Staff are the owners, admins and registrars of the organization. An adult cannot be consented for by another person through self-service. Only staff can record it, from a paper record.
Each record has a method. Use paper for a signed form. Use staff for an agreement given in person.
2. Record a grant
You need the purpose key and the id of the person. A household member without a login uses member. A person with an account uses user.
curl -X POST https://auth.example.org/api/orgs/$ORG_ID/consents \
-H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \
-d '{"purpose": "riverside-trips", "member": "$MEMBER_ID",
"action": "grant", "method": "paper",
"evidenceRef": "Form 2026-014", "givenBy": "$GUARDIAN_MEMBER_ID"}'
| Field | Meaning |
|---|---|
purpose | The key of the purpose. |
member or user | The person. Send one. |
action | grant or withdraw. |
method | paper or staff. |
evidenceRef | Where the evidence is, such as a form number. A grant needs it. |
givenBy | For a minor, the active guardian who consented. |
For a minor, you must name the guardian in givenBy. The guardian must be an active guardian of the person's household.
3. Rules Claviger enforces
- A marketing purpose can never be granted for a minor, by anyone.
- A person below the minimum age needs a guardian.
- Granting what is already granted on the current version changes nothing.
- A grant after a withdrawal records a new event.
- Withdrawing is never harder than granting. The person, a guardian or staff can withdraw.
Keep a note of the evidence reference in your own files. Do not put sensitive details in it.
4. Withdraw and review
To withdraw, send the same request with "action": "withdraw". Withdrawal does not need an evidence reference.
To see a person's consents and history for your organization:
curl "https://auth.example.org/api/orgs/$ORG_ID/consents?member=$MEMBER_ID" \
-H "Authorization: Bearer $TOKEN"
The history is append-only. Nobody can edit or delete an event, so check each record before you send it.
A consent event stays for good. If you recorded a grant by mistake, withdraw it and note why in your own records. Do not try to hide it.
5. Quick reference card
Grant
- Get the form and the person's id.
- Send
action: grant,method: paper, and theevidenceRef. - For a minor, add
givenBy.
Withdraw
- Send
action: withdrawfor the same purpose and person.
A consent event is permanent. Check the person, the purpose and the evidence before you send it.