This page will help you get started with Consent API.
Use this endpoint along with the GET /tos endpoint to skip Canopy Connect's consent screen. Instead, you can render a consent screen in your user interface. Use the GET /tos endpoint to fetch the Canopy Connect terms of service and render it in your user interface. When an end-user consents to the Canopy Connect terms of service, register the end-user consent by calling this endpoint.
Read the consent_token
from the POST /consent response body. Supply this value as the consentToken
parameter to CanopyConnect.create when initializing the Canopy Connect SDK from your frontend. This will cause the Canopy Connect widget to skip the consent screen, and proceed directly to the "Select your insurance provider" screen.