/consents/tokensendpoint 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/tokensand specify the organization ID, the organization user ID and (optionally) the lifetime (in seconds) of the token.
eventobject to include metadata linked to the event or to the user:
delegateproperty when creating a consent token to indicate access delegation. You can specify the ID and name of the delegate, and a use a generic
metadatafield to keep track of extra information on the delegate.
delegateproperty automatically gets added to all events created from the consent token.
validationfield to indicate what validation method should be applied when a user updates their preferences with a consent token:
tokenquery-string parameter. Example: