How to use Consent API

📘

The Consent API is only used with the SDK

If you are using the Auth API, reference POST /consentAndConnect

You can render your own consent screen and use the GET /tos endpoint along with the POST /consent to endpoint skip Canopy Connect's consent screen. Use GET /tos endpoint to fetch the Canopy Connect terms of service and render it in your user interface. When end-users consent to the Canopy Connect terms of service, register the end-user consent by calling the POST /consent endpoint .