/consents/tokens
endpoint of the API allows creating consent tokens for your organizations. For a full reference of the endpoint and the resources that it returns, visit https://api.didomi.io/docs/.https://api.didomi.io/consents/tokens
and specify the organization ID, the organization user ID and (optionally) the lifetime (in seconds) of the token.id_token
field:event
object to include metadata linked to the event or to the user:delegate
property when creating a consent token to indicate access delegation. You can specify the ID and name of the delegate, and a use a generic metadata
field to keep track of extra information on the delegate.delegate
property automatically gets added to all events created from the consent token.validation
field to indicate what validation method should be applied when a user updates their preferences with a consent token:token
query-string parameter. Example: