Blackboard Logo

First Steps with Learn REST API

Blackboard offers a suite of education technology tools, both software and hardware. REST stands for Representational State Transfer. It is a lightweight, flexible web service architecture that allows HTTP commands to be sent to Web Applications without unnecessary overhead. We provide specific examples and tutorials about using Blackboard REST APIs, particularly when a workflow is more complicated. For more general questions about REST and using REST APIs, see any of the numerous tutorials available online. Most commonly used resources include:

Before You Get Started

Blackboard offers lots of tools to help you develop an application, plugin, or other integration for use with Blackboard products like Blackboard Learn and Blackboard Collaborate. The most important ones are your accounts with these sites:

Note that the Developer Portal and Developer Community require separate accounts.

Register as a Blackboard Developer

Blackboard Learn REST integrations begin at the Developer Portal. This is where you register REST Applications and get the ID, key, and secrets. In the portal, you can see which client systems are using the integrations. Signing up is free, and you can develop your integration at no cost. There may be cost involved in deploying your integration, but before that happens, you’ll have to speak with us. To discuss deploying your application, please contact us at developers@blackboard.com.Before you can authenticate your project with Blackboard applications, you need to be a registered Blackboard developer.To register as a Blackboard developer:

  1. Go to https://developer.blackboard.com/ and select Sign Up. Read and agree to the terms and conditions.
  2. Provide your email address, a password, your first name and last, and select the checkbox to prove you are human.
  3. Select Create Account and you’re on your way.

For more information about the Developer Portal please see this document

Note: If you are a Blackboard client, a Blackboard Partner / Vendor / Developer of a REST Application should NEVER tell you to go to the developer portal and create an App ID with the associated key/secret to install their application. They should never tell you to apply for a Rate/Site increase for their application. Blackboard DOES NOT support that model. Every REST Application developer should give you an App ID to install their REST App and tell you how to configure a system role for its use. Period. The REST Application developer needs to request the increases they need to run their application themselves. If they ask you to go to developer.blackboard.com and get an App ID/Key/Secret, please tell them that is wrong. They should have exactly one App ID for their production REST application that they are asking you to install.

Contractors are an exception to this policy as they are producing an integration on your, the Blackboard client, behalf. Questions regarding the policy and whether you are impacted may be asked here, or posted to developers@blackboard.com

Join the Community

The Blackboard developer community is the best place to find more information about integrating your project with Blackboard products. You will benefit from the community most by joining in.To register in the Blackboard developer community:

  1. Go to Blackboard Developer Community and select Register.
  2. If your organization is a Blackboard client or partner organization and you have a Behind the Blackboard login, select Behind the Blackboard Login. Otherwise, select Community Site Login.
  3. Enter your email address to receive a link via email.
  4. In your email’s inbox, find the email sent by Blackboard. You might have to check your spam or junk folder. The email’s subject is something like Blackboard Community: Email Validation. Select the link in your email. You will be taken to a registration page.
  5. In the registration page, complete all the required fields and select Create Account.

What Blackboard Application Do I Need?

Your Blackboard-compatible application can work with one or more of Blackboard’s tools. How you build an integration with Blackboard software and hardware depends on which tools you want to integrate with. The tools you’ll want to use depend on what you want to do.

I want to programmatically… You’ll need to…

Add files, text, and the like to Blackboard Learn

  1. Authenticate with Blackboard Learn via REST API
  2. Check out our Learn REST API reference

Bulk add users to Blackboard Learn

  1. Authenticate with Blackboard Learn via REST API
  2. Check out our Learn REST API reference

Set up video conference sessions

  1. Authenticate with Blackboard Collaborate via REST API
  2. Check out our Collaborate REST API reference

Invite users to video conference sessions

  1. Authenticate with Blackboard Collaborate via REST API
  2. Check out our Collaborate REST API reference

Get a list of users who attended a video conference session

  1. Authenticate with Blackboard Collaborate via REST API
  2. heck out our Collaborate REST API reference

Get Development Instances of Blackboard Applications

Blackboard makes available instances of Blackboard applications that you can use to build projects that integrate with Blackboard applications. Among others, we offer these popular developer instances. Blackboard does not charge a fee for entry-level use.

For more information about developer versions of Blackboard applications, see Developer Versions of Blackboard Applications.

Developing with Blackboard Collaborate

Things are a little different for developing with Blackboard Collaborate. For more information, see the Collaborate REST API Reference and then email us at at developers@blackboard.com. We’ll set you up with a key and secret for Blackboard Collaborate. Then read about how to use your key and secret to authenticate with Collaborate. The rest of the present topic pertains only to developing with Blackboard Learn.

Developing with Blackboard Learn

Go to the developer portal and register as a Developer if you haven’t already, and then register your application to get a key and secret. Use your key and secret to authenticate with Learn.

developer workflow

Look at the Learn REST Reference

Check out the Learn REST API Reference. In particular,look at the range of endpoints available. Check the Since version for endpoint that interest you. This version number indicates the version since which the endpoint has been available. This way, you can make sure that your Blackboard server is is able to use it.

Authentication/Authorization

Authentication for REST Integrations follows the OAuth 2.0 RFC Standard. Essentially, every developer has a unique key and secret associated with each application they create. They make an HTTP Post to the API requesting client_credentials, which returns an authorization token that grants the application access to the Learn REST API for one hour. This token is then passed in subsequent REST calls until such time that the token expires. This can be done either with Basic Authentication or, as of Blackboard Learn 3200.7 in SaaS or Q4 2017 for self- and managed-hosted clients, using Three-Legged OAuth.

Calling Services

Once your application acquires an access token, it only needs to pass that token as a Bearer token in the Authorization header of your API calls. Review the authentication documentation in the above section for an overview, or find more specific details on the available API endpoints and APIs on the Developer Portal’s Swagger API document.In its current implementation, Blackboard Learn REST APIs does not support Cross-Origin Resource Sharing (CORS). To learn about this and see an example to workaround this with Angular2, see the blog entitled Cross-Origin Resource Sharing; or Why I Can’t Use AJAX with Learn APIs.

Configure an Instance of Learn to Work with Your Application

Once you have registered with the developer portal and built an integration, deploying to a Blackboard Learn SaaS instance is a simple step. The Blackboard Learn administrator that wants to use your integration needs the Application ID you got from the developer portal. The administrator will also need to create a Blackboard Learn user account with sufficient entitlements to associate with your integration. This gives the administrator full control over the entitlements used by your application. For more information on how to configure Learn, please see Managing REST Integrations in Learn: The REST Integrations Tool for System Administrators.

Glossary

Term Definition
Application ID Unique identifier for the application used to integrate with the
Blackboard Learn REST Services. Each unique integration should have its own Application.
Application Key Each application is assigned a unique key. This is used to authorize REST API
calls against Blackboard Learn.
Application Secret Each application is assigned a unique secret. This is used to authorize REST
API calls against Blackboard Learn.
Access Token A token is a unique string representing an implicit authorization granted by
an OAuth 2.0 Service Provider.
CRUD Create, Read, Update, Delete

More Information

We will continue to add new examples, tutorials, and code samples, so make sure to check these links regularly.