Create consent mandates, manage approval decisions, and retrieve consent records through the Consenza API.
Obtain an access token for your environment and include it with every API request.
Authorization: Bearer <access_token>Keep the token secret and request a new one when it expires.
Choose a task to see its endpoints and a request example.
Obtain an access token
/oauth2/tokenRequest an access token
Replace the environment, token, and path variables with your values.
curl -X POST "$API_BASE_URL/oauth2/token" \
-H "Content-Type: application/x-www-form-urlencoded'" \
-d "grant_type=client_credentials" -d "client_id=xxxxx" -d "client_secret=yyyyy"'