npr.org

The interface to our OAuth2 server

🔑 oauth2 3 endpoints entertainment
📄 Docs 📋 OpenAPI spec 🔬 Try in Swagger UI

SDKs by language (5 total)

npm install npr-one-api-js-sdk
npm install npr-one-test
RAD-Android ✓ Official
# Maven: see https://github.com/npr/RAD-Android
composer require npr-pmpsdk
RAD-iOS ✓ Official
# See https://github.com/npr/RAD-iOS
curl examples
Create a new OAuth2 access token
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /v2/token
Initiate an OAuth2 login flow for limited input devices
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /v2/device
Endpoints (3 total)
POST
/v2/token
Create a new OAuth2 access token
POST
/v2/device
Initiate an OAuth2 login flow for limited input devices
POST
/v2/token/revoke
Revoke an existing OAuth2 access token
Related APIs in same category
jokes.onevimeo.comnpr.orgnpr.orgnpr.org
At a glance
Total SDKs5
Languages4
Endpoints3
Authoauth2
Categories1