This page describes what Aiveth does. It is not legal advice.
How it works
- You publish a consent notice with one or more purposes.
- When a person signs in to one of your apps and hasn’t answered the current notice, Aiveth shows its consent screen. Or your app shows its own screen and records the answer through the admin API.
- Each answer is recorded with the notice version, the time, where it was given and the language.
- The answers ride in the ID token as
consent, and your apps get a webhook when an answer changes. - People change their answers on their account page at any time.
Write a consent notice
You need a role that can manage security.1
Open Privacy
In the console, go to Privacy and find Consent notice. Select Write a notice (or New version if you have one).
2
Add each purpose
For each purpose, fill in:
- Title
- What it’s for, in plain words
- Data it uses, separated by commas (1 to 30 items)
3
Mark at most one purpose as needed
One purpose may be needed to use the app. Say Why it’s needed. Every other purpose is optional, and people choose each one on its own.
4
Set how long a yes lasts (optional)
For an optional purpose, How long a yes lasts can be 30 to 3,650 days. See Time-bound purposes.
5
Say who else gets the data
List each organization you share the data with and what it gets, for example “Amazon Web Services: email, to send sign-in codes”.
6
Say who answers questions
Under Who answers questions about the data, give a name and an email people can reach.
7
Preview and publish
Check the Preview, then publish.
Add a translation
The notice is in English. You can add your own translation of the current version in any of the 22 languages of the Eighth Schedule (Assamese, Bengali, Bodo, Dogri, Gujarati, Hindi, Kannada, Kashmiri, Konkani, Maithili, Malayalam, Manipuri, Marathi, Nepali, Odia, Punjabi, Sanskrit, Santali, Sindhi, Tamil, Telugu, Urdu). Translate every purpose, including each data item. A translation is added, never changed, so what a person read stays provable. To change it, publish a new version. People see the notice in their browser’s language when you have it, and can pick another. The language a person read is recorded with their answer.The consent screen
When a person signs in to your app and the notice is new to them, Aiveth shows each purpose in plain words, the data it uses, and who answers questions. The needed purpose is ticked and fixed, with why. Nothing else is pre-ticked. The person selects Continue and goes back to your app. If you check people’s age, children see the parental consent flow instead. A child never answers the notice.Read consent in your app
The ID token carries the person’s answers to the current notice:consent.givenwhen a person says yes to a purpose.consent.withdrawnwhen a person says no, withdraws, or a time-bound yes ends.
consent.withdrawn. Aiveth may also open an erasure task.
Record consent from your own app
If your app asks for consent on its own screen, your server records the answer through the admin API. Use an API key with these powers:consent:readto check and read answers and receipts.consent:writeto record, withdraw and import answers.
Record answers
The notice version the person read. If it isn’t the current version, you get
409 and should show the new notice.{purpose: true | false}. The first time, answer every purpose. A needed purpose can’t be answered no.{ "person_id": "...", "consents": { "account": true, "newsletter": false } }.
Recording the same answer again changes nothing and sends no second event, so retries are safe.
Check before you use data
Ask before you use a person’s data for a purpose:granted is true only when the person said yes to the current notice’s version of that purpose and the yes hasn’t ended.
Read answers
GET /v1/admin/consents/{person_id} returns {person_id, consents} for the current notice.
Withdraw
Offer withdrawal in your app’s settings, as easy as giving consent:Signed consent receipts
A consent receipt is a signed record of what a person agreed to. You and the person both hold it.- People download theirs from their account page (
consent-receipt.json). - Your server gets one with
GET /v1/admin/consents/{person_id}/receipt, which returns{receipt, claims}.
typ consent-receipt+jwt, signed with Aiveth’s key. Check it against Aiveth’s JWKS. It has no aud, so it is never mistaken for an ID token. Its claims include:
sub, the person, andcontroller: your organization’s id, name and contactnotice: the version and when it was publishedpurposes: for each one, the data it uses, whether it is needed, yes or no, when, where it was given, the language, and when a time-bound yes endsshared_with,withdraw(where to change it),jurisdiction(IN) andlawchain: the fingerprint of the person’s last answer in your organization’s record
jti. Any change gives a new one. If there is no notice, or the person hasn’t answered, you get 404.
Time-bound purposes
An optional purpose can last 30 to 3,650 days. Aiveth then:- reminds the person by email 30, 7 and 1 days before it ends, once each
- turns the yes into a no when the day comes, recorded as expired, and sends
consent.withdrawn - asks again at the person’s next sign-in
People change their own answers
On their account page, each person sees your notice and one switch per optional purpose. Turning a switch off is recorded at once and your apps are told. People get an email whenever an answer changes something. The email’s button opens their account page, where they can change it again or download their receipt.Import earlier consent
If people gave consent before you used Aiveth, bring it in:- Up to 500 people per call, each by
person_idoremail, answering every purpose of the current notice. given_atis a past date and time with a time zone. Without it, now is used.- A time-bound yes counts its days from
given_at, so it may already have ended. - Imported answers are recorded as imported, with the source in the activity log. People aren’t emailed.
- Importing the same file again changes nothing. An older answer never replaces one the person gave in Aiveth since.
{recorded, unchanged, skipped}. skipped lists each person not brought in, with the row and why. One refused row never stops the others.
Sending people a notice about consent they gave earlier stays your job.
The proof
In the console, Privacy → Consent records shows every yes and no, with the notice version and where it was given.- Download CSV gives every answer ever.
- Check the record is untouched verifies that no answer has changed. Answers are kept in an append-only record where each entry is linked to the one before by a keyed hash.