Manage user consent

Collect user consent

❗️

In order to collect the consent for Bridge, there is a need of a special sub-contractor contract.

When you collect a consent with the Collect user consent for guidances services endpoint, the required fields are:

  • user_uuid: Identify the user for which the consent has been collected. The user_uuid should be obtain after creating a user and after doing a user management session or doing a connect session.
  • country_code: Specify the country of the company with the ISO 3166 (Alpha-2) format
  • company_identification_number: Specify the identification number of the company (in France it’s the SIREN)

You can also define 3 additional and optional values that impact the user experience :

  • language: Define the language in which the user will see the session. If not mention it will take his browsing language
  • contact_email: Share the contact email of the user, we would be able to notify the user that a new guidance is ready.
  • contact_phone_number: Share the contact phone number of the user, we would be able to notify the user that a new guidance is ready.

Response 200 - Consent collected successfully


Revoke user consent

❗️

In order to collect the revoke of the consent for Bridge, there is a need of a special sub-contractor contract.

When you revoke a consent with the Revoke user consent for guidance services endpoint, the required fields are:

  • user_uuid: Identify the user for which the consent should be revoked

Response 204 - Guidance consent deleted successfully