Create consent by email
Consent
Create consent by email
Stores consent for a user identified by email
POST
Create consent by email
Documentation Index
Fetch the complete documentation index at: https://docs.databunker.org/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Root access token for Databunker API
Path Parameters
User email address
Consent brief (unique identifier, max 64 chars)
Maximum string length:
64Pattern:
^[a-z0-9-]+$Body
Consent status
Available options:
accept, cancel Text message describing consent
Free text for internal usage
Date & time to automatically enable consent (Unix time or duration like '10d')
Consent expiration date (Unix time or duration like '1m')
Legal basis for processing
Available options:
consent, contract-agreement, legal-obligations Module type (e.g., phone-consent, contract, app-consent, web-consent, email-consent)
Internal document or contract ID
Name of person who last modified this record
Response
Consent created successfully
Available options:
ok Example:
"ok"