Obtain OAuth2 token
documentedExchange authorization code for access token.
POST /o/oauth2/tokenAuthenticationno 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.agendize.com/o/oauth2/token" \
-X POST \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Accept: application/json" \
--data-urlencode "client_id={{$client_id}}" \
--data-urlencode "client_secret={{$client_secret}}" \
--data-urlencode "grant_type={{$grant_type}}" \
--data-urlencode "code={{$code}}" \
--data-urlencode "redirect_uri={{$redirect_uri}}"