Skip to content
Moodle logo

Connectors / Human resources · HTTP Connector

Automate Moodle with Tray.ai

Call the Moodle API from any Tray.ai workflow with the HTTP Connector.

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

docs.moodle.org/dev/Web_service_API_functions

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.

Great — a couple more details

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