Obtain OAuth access token
documentedExchange an authorization code for an access token (and a refresh token).
POST /oauth/tokenOAuthno 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.rightsignature.com/oauth/token" \
-F grant_type=authorization_code \
-F client_id='{{$RIGHTSIGNATURE_CLIENT_ID}}' \
-F client_secret='{{$RIGHTSIGNATURE_CLIENT_SECRET}}' \
-F code='{{$code}}' \
-F redirect_uri='{{$redirect_uri}}' \
-X POST \
-H "Accept: application/json"