API Data/Portal Navigation Video:
NYU API Portal allows authentication using NetID credentials to obtain token that can be utilized. Other 3rd party systems may provide alternate authentication mechanisms. Please refer to the A-Z API list for helper pages on how to connect to individual 3rd party APIs.
Using OAuth 2.0 to Access NYU APIs
NYU APIs use the OAuth 2.0 protocol for authentication and authorization. To begin, applications need to obtain an access (bearer) token from https://token.idm.home.nyu.edu, extracts the token from the page, and sends the token to the NYU API that you want to access.
Obtaining access token from https://token.idm.home.nyu.edu.
Invoking API Using Command Line and CURL
curl -k -H "Authorization: Bearer [ACCESS_TOKEN]" https://example.com/api_endpoint curl -k -H "Authorization: Bearer e15dfbee-dffa-3b13-19c8-ff070e1d4e08" https://sandbox.api.it.nyu.edu/course-catalog-exp/courses