Create consents (multiple constituents)
documentedCreate consents for multiple constituents.
POST /constituents/consentsConsent APIno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.sky.blackbaud.com/v1/constituents/consents" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"requests":[{"constituent_id":"{{$constituent_id}}","consents":[{"channel":"{{$channel}}","category":"{{$category}}","response":"{{$response}}","date":"{{$consent_date}}","source":"{{$source}}","privacy_policy":"{{$privacy_policy}}","consent_statement":"{{$consent_statement}}"}]}]}'