Skip to content
Teachable logo

Connectors / Human resources · HTTP Connector

Teachable integration and API

Start a Tray.ai workflow when Teachable sends “Sale created”. Connect Teachable to the rest of your human resources stack with Tray.ai.

What can you do with Teachable on Tray.ai?

Teachable is a platform for creators to build and sell online courses, coaching and digital downloads from their own branded school, with checkout and student management. Tray.ai connects to Teachable through the HTTP Connector, so your workflows can call the Teachable API alongside the rest of your stack.

  • When Teachable sends “Sale created”, record the sale in your accounting system.
  • When Teachable sends “Enrollment completed”, tag the student as a graduate in your email marketing tool.
  • Enroll a user in a course when a new employee is added to your HR system.
  • When Teachable sends “Subscription canceled”, alert the customer success team in your team chat.
Connects through
HTTP Connector
Authentication
An API key in a request header or OAuth 2.0
Base URL
https://developers.teachable.com/v1

Set it up

Connect Teachable to Tray.ai

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

Save Teachable's API key

Save the key as a Tray.ai authentication. The HTTP Client puts it in the request header, read from $.auth. The key stays out of the workflow and out of the logs.

Point the HTTP Client at the API

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

Start with “List courses”

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

Start workflows from Teachable events

Give Teachable the URL of a Tray.ai webhook trigger. “Sale created” can then start a workflow, and so can 11 other events.

Workflows to build with Teachable

Connect Teachable with HubSpot, QuickBooks and Stripe

Each one uses actions and events from Teachable's own API documentation.

Add new Teachable sales to HubSpot

When

Sale created

Then

  1. Get a user in Teachable
  2. Create or update a contact in HubSpot with the purchase

With HubSpot

Record Teachable refunds in QuickBooks

When

Transaction refunded

Then

  1. List transactions in Teachable to get the refund
  2. Create a refund receipt in QuickBooks

With QuickBooks

Enroll Stripe customers in a Teachable course

When

A payment succeeds in Stripe

Then

  1. Create a user in Teachable
  2. Enroll a user in a course in Teachable

With Stripe

Apps you can build on Teachable data

Internal tools your team can build with an AI assistant, each one using Teachable calls from its API documentation.

Course progress tracker

Lists enrollments for each course so a creator can see who has finished and who is stuck.

Sales and refunds report

Lists transactions by pricing plan so the team can see revenue and refunds.

Student access desk

Lets support look up a student and enroll or unenroll them from a course.

Give your AI agents Teachable tools

Build an MCP server on Teachable in Agent Gateway and choose which actions your agents can call. Every call runs with access control and an audit trail. How Agent Gateway works

  • List courses
  • List users
  • Enroll a user in a course
  • List pricing plans
  • List webhook events
  • Get a course
  • List course enrollments
  • Mark a lecture complete

What the Teachable API covers

5 resources and 15 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.

Courses

  • List courses
  • Get a course
  • List course enrollments
  • Mark a lecture complete

Users

  • List users
  • Get a user
  • Create a user
  • Update a user

Enrollments

  • Enroll a user in a course
  • Unenroll a user from a course

Pricing plans and sales

  • List pricing plans
  • Get a pricing plan
  • List transactions

Webhooks

  • List webhook events
  • List events for a webhook

Events Teachable can send to a Tray.ai webhook trigger

  • Sale created
  • Subscription canceled
  • Enrollment created
  • Enrollment completed
  • Enrollment disabled
  • Transaction created
  • Transaction refunded
  • User created
  • User updated
  • Lecture completed
  • Abandoned order created
  • Comment created

Checked against Teachable's own documentation on 2026-10-22

docs.teachable.com

Frequently asked questions

What can a Tray.ai workflow do in Teachable?

The Teachable API documents 15 actions across 5 resources (Courses, Users, Enrollments, Pricing plans and sales, Webhooks). For example: List courses; List users; Enroll a user in a course. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with Teachable?

The Teachable API uses an API key in a request header and OAuth 2.0. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

Which Teachable events can start a Tray.ai workflow?

Teachable sends 12 events to a webhook URL, for example: Sale created; Subscription canceled; Enrollment created; Enrollment completed; Enrollment disabled; Transaction created; Transaction refunded; User created. A Tray.ai webhook trigger receives them and starts a workflow.

See Teachable 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.