Salesforce

Roster Server Integrations—Part 3: Access Roster Server data with OAuth1 or the ClassLink OAuth2

« Go Back

Information

 
Contents

Partner Portal
Partner Administrator

Access roster data shared with your application

After a school system grants access, your application can retrieve its roster data directly using OAuth1 or through the ClassLink OAuth2 Proxy. This guide explains where to find connection credentials, how to choose an access method, and how to test requests. It covers Part 3 of the Roster Server integration path.

Choose how to access Roster Server data

Each school system hosts its own ClassLink Roster Server. After a school system grants your application access to its roster data, you can connect in one of two ways:

  • OAuth1: Connect directly to the school system’s Roster Server.
  • OAuth2: Send requests through the ClassLink OAuth2 Proxy, which routes the request to the appropriate Roster Server.

ℹ️ The OneRoster® 1.1 specification uses OAuth1. If your integration needs to follow the 1EdTech OneRoster® 1.1 specification directly, use OAuth1.

Access Roster Server directly with OAuth1

After a school system grants your application access to its Roster Server, you can connect directly using OAuth1 signatures.

Get the Roster Server credentials

  1. Sign in to Partner Portal.
  2. Select Clients in the left navigation, then select View By Tenant.
  3. Click the appropriate Tenant Name to open the Tenant and Application Connections page.
  4. Search for and select the appropriate application.
  5. Click the key icon for the connection.

✅ The Roster Server credentials appear in a popup. Each Roster Server connection also includes a documentation page where you can test your API key and secret.

Access Roster Server through the ClassLink OAuth2 Proxy

The ClassLink OAuth2 Proxy provides another way to access Roster Server data. The proxy routes your request to the appropriate school system’s Roster Server and signs the request using OAuth1 signatures.

After the school system grants access to its roster data, you can make a GET request to a valid proxy endpoint. The JSON response provides the information you need to make additional requests.

Get your application list

Use the following GET request to retrieve your application list:

https://oneroster-proxy.apis.classlink.com/applications

ℹ️ The bearer token used with the proxy is the API key generated in Partner Portal Settings. Only a Partner Administrator can generate this API key.

Get your application ID and access token

You can find your application ID and view the access token used as the bearer token for API requests in Partner Portal. The token can be refreshed at any time and doesn’t expire. Store it in a secure location.

  1. Sign in to Partner Portal.
  2. Select Clients in the left navigation, then select View By Tenant.
  3. Click the appropriate Tenant Name to open the Tenant and Application Connections page.
  4. Search for and select the appropriate application.
  5. Click the key icon.

✅ Your credentials appear in a popup.

Test the application request

Open the ClassLink OAuth2 Proxy documentation. Select Proxy - applications-/applications/ from the top dropdown, click Explore, then enter your Bearer API_KEY.

Request data for a specific Roster Server

You can use more specific GET requests to retrieve direct credentials and data for an individual Roster Server. Add the appropriate oneroster_applications_id to the request.

For example:

https://oneroster-proxy.apis.classlink.com/applications/O99pGsxgZhM%3D/server

✅ Want to test the request? See the ClassLink API reference.

Continue your Roster Server integration

This article is Part 3 of the Roster Server integration path. Continue through the resources below as you build and refine your integration, or visit the Roster Server integration resources page.

Part 1: Understand OneRoster®

Learn how the OneRoster® standard supports roster data exchange through ClassLink Roster Server.

Part 2: Get started with OneRoster®

Create your Roster Server connection and prepare to test your integration with ClassLink.

☑️ Part 3: Access Roster Server data

Current step. Choose an authentication method and connect to the roster data a school system has shared with your application.

Part 4: Follow best practices for pulling Roster Server data

Review ClassLink’s recommendations for retrieving roster data efficiently and reliably.

Part 5: Understand 429 and 502 errors in Roster Server API integrations

Learn how request limits affect your integration and what to check when these API errors occur.

© ClassLink

URL Namepp-access-rs-data
TitleRoster Server Integrations—Part 3: Access Roster Server data with OAuth1 or the ClassLink OAuth2

Powered by