
Connectors / Human resources · HTTP Connector
Automate Moodle with Tray.ai
Call the Moodle API from any Tray.ai workflow with the HTTP Connector.
Thanks — someone from our team will be in touch soon.
What can you do with Moodle on Tray.ai?
Moodle is an open-source learning management system that schools and companies use to run online courses, enrol learners, and track grades. Tray.ai connects to Moodle through the HTTP Connector, so your workflows can call the Moodle API alongside the rest of your stack.
- Connects through
- HTTP Connector
- Authentication
- An API key in the query string
- Base URL
- https://{your-moodle-site}/webservice/rest/server.php
What the Moodle API covers
4 resources and 15 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow.
Courses
- List courses
- Create courses
- Update courses
- Delete courses
Users
- Get users by ID
- Create users
- Update users
- Delete users
Enrolments
- Enrol users
- List enrolled users
- Edit a user enrolment
- Unenrol users
Grades
- Get grades
- Update grades
- Create grade categories
Checked against Moodle's own documentation on 2026-10-22
How Tray.ai makes this work
Moodle plugs into the whole Tray.ai platform
Intelligent Integration
Integrate and automate across 700+ connectors with visual workflows, error handling, and observability.
Learn more →Agent Builder
Build AI agents that read, write, and take action in Moodle — with guardrails, audit, and human-in-the-loop.
Learn more →Agent Gateway for MCP
Expose Moodle actions as governed MCP tools — observable, rate-limited, authenticated.
Learn more →More human resources apps on Tray.ai
Dedicated connectors and other apps Tray.ai reaches in the same category. See every human resources connector →
Frequently asked questions
What can a Tray.ai workflow do in Moodle?
+
The Moodle API documents 15 actions across 4 resources (Courses, Users, Enrolments, Grades). For example: List courses; Get users by ID; Enrol users. A workflow can make any documented call through the HTTP Connector.
How does Tray.ai authenticate with Moodle?
+
The Moodle API uses an API key in the query string. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.
See Moodle working against your stack.
We'll walk through a tailored demo with your systems plugged in.
Thanks — someone from our team will be in touch soon.