# Teachable integrations: courses and enrollments

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

**Canonical page:** https://tray.ai/connectors/teachable-integrations/
**Categories:** Human resources
**Connects through:** HTTP Connector

## Overview

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.

## Use cases

### Courses

Read courses in Teachable from any Tray.ai workflow. The Teachable API covers calls such as list courses and get a course.

- List courses
- Get a course
- List course enrollments

### Users

Read, create, and update users in Teachable from any Tray.ai workflow. The Teachable API covers calls such as list users and get a user.

- List users
- Get a user
- Create a user

### Enrollments

Work with enrollments in Teachable from any Tray.ai workflow. The Teachable API covers calls such as enroll a user in a course and unenroll a user from a course.

- Enroll a user in a course
- Unenroll a user from a course

### Pricing plans and sales

Read pricing plans and sales in Teachable from any Tray.ai workflow. The Teachable API covers calls such as list pricing plans and get a pricing plan.

- List pricing plans
- Get a pricing plan
- List transactions

### Webhooks

Read webhooks in Teachable from any Tray.ai workflow. The Teachable API covers calls such as list webhook events and list events for a webhook.

- List webhook events
- List events for a webhook

### Teachable events

Start a Tray.ai workflow the moment something happens in Teachable. Teachable sends events such as sale created and subscription canceled to a Tray.ai webhook trigger.

- Sale created
- Subscription canceled
- Enrollment created

## Challenges Tray.ai solves

### Keeping Teachable credentials out of logs

A raw API call usually means pasting a key or token into the request, where it ends up in step inputs, logs, and screenshots.

**How Tray.ai helps:** Store Teachable credentials once as a Tray.ai authentication and reference them from the HTTP Connector. Tray.ai masks authentication values in logs, so the secret never shows up in a step's input or output.

### Going from the Teachable API docs to a working call

Translating an example request from API docs into a workflow step means copying the method, URL, headers, and body by hand.

**How Tray.ai helps:** Paste a cURL example from the Teachable API docs into the HTTP Connector and Tray.ai fills in the method, URL, headers, and body for you.

### Handling files and non-JSON responses

Not every API answers in JSON. Some return XML, files, or binary data, or expect a multipart upload.

**How Tray.ai helps:** The HTTP Connector parses JSON and XML responses, returns files you can pass to the next step, and sends multipart form data for uploads.

## Frequently asked questions

### Does Tray.ai connect to Teachable?

Yes. Tray.ai connects to Teachable through the HTTP Connector, which calls the Teachable API directly. Any call the Teachable API documents can run as a step in a Tray.ai workflow.

### 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.

### Can I get a dedicated Teachable connector?

Teachable runs through the HTTP Connector rather than a dedicated connector. If your team wants one, the Tray.ai connector SDK can build a dedicated Teachable connector from the Teachable API.

## Learn more

- Intelligent Integration: https://tray.ai/platform/intelligent-ipaas/
- Merlin Agent Builder: https://tray.ai/platform/merlin-agent-builder/
- Agent Gateway for MCP: https://tray.ai/platform/agent-gateway/
- Book a demo: https://tray.ai/contact/
