Obtain access token
documentedExchanges an authorization code or refresh token for an access token for API calls.
POST /api/oauth2/access_token/Authenticationno 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://snip.ly/api/oauth2/access_token/\" -X POST -H \"Content-Type: application/json\" -H \"Accept: application/json\" -d '{\"grant_type\": \"refresh_token\", \"client_id\": \"{{SNIPLY_API_KEY}}\", \"client_secret\": \"{{SNIPLY_SECRET}}\", \"refresh_token\": \"{{$refresh_token}}\"}'