Skip to content
Coursera logo

Connectors / Human resources · HTTP Connector

Automate Coursera with Tray.ai

Create a program membership, invite a user and update an organization user in Coursera.

Great — a couple more details

This helps us connect you with the right person. Optional, and you can skip it.

See all connectors

What can you do with Coursera on Tray.ai?

Coursera is an online learning platform; its Coursera for Business offering lets companies run learning programs, enroll staff in courses, and track their progress and skills. Tray.ai connects to Coursera through the HTTP Connector, so your workflows can call the Coursera API alongside the rest of your stack.

  • Invite a user to your learning program when HR adds a new hire in your HR system.
  • Enroll a user in a course when their manager approves a training request in your service desk.
  • Get enrollment state weekly and record course completions in your HR system.
  • Delete a program membership when an employee leaves, triggered from your HR system.
Connects through
HTTP Connector
Authentication
OAuth 2.0 or a bearer token
Base URL
https://api.coursera.com/ent

Set it up

Connect Coursera to Tray.ai

Each step uses Coursera's own API details, from its documentation.

Step 1

Sign in to Coursera with OAuth 2.0

Set up an OAuth 2.0 authentication with the client ID and secret of an OAuth app you register with Coursera. Sign in once and every step reads the token from there.

Step 2

Point the HTTP Client at the API

Add an HTTP Client step and use https://api.coursera.com/ent as the base URL. Or paste a cURL example from Coursera's API docs, and Tray.ai fills in the method, URL, and headers.

Step 3

Start with “List programs”

It's one of 17 documented actions, under Programs. The response comes back as data the next step can map into your other apps.

Step 4

Hand it to an AI agent

Wrap “Get course materials” and “List curriculum collections” in workflows, and Tray.ai's Agent Gateway for MCP publishes them as governed tools Claude and other AI agents can call.

What the Coursera API covers

6 resources and 17 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how.

Programs

  • List programs
  • Get course materials
  • List curriculum collections

Program memberships

  • List program memberships
  • Create a program membership
  • Delete a program membership

Program invitations

  • Invite a user
  • Invite multiple users
  • List invitations
  • Delete an invitation

Program enrollments

  • Enroll a user in a course
  • Get enrollment state

Organization users

  • List organization users
  • Update an organization user
  • Delete a user

Reports

  • Get enrollment reports
  • Get course gradebook reports

Checked against Coursera's own documentation on 2026-11-06

dev.coursera.com

Frequently asked questions

What can a Tray.ai workflow do in Coursera?

+

The Coursera API documents 17 actions across 6 resources (Programs, Program memberships, Program invitations, Program enrollments, Organization users, Reports). For example: List programs; List program memberships; Invite a user. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with Coursera?

+

The Coursera API uses OAuth 2.0 and a bearer token. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

See Coursera working against your stack.

We'll walk through a tailored demo with your systems plugged in.

Great — a couple more details

This helps us connect you with the right person. Optional, and you can skip it.