Canvas LMS · Arazzo Workflow

Canvas LMS Onboard Student to Course

Version 1.0.0

Validate a user, enroll them as a student, and confirm course membership.

1 workflow 3 source APIs 1 provider
View Spec View on GitHub Learning ManagementEducationEdTechLMSLTIHigher EducationK-12Open-SourceAGPLCanvasArazzoWorkflows

Provider

canvas-lms

Workflows

onboard-student-to-course
Verify a user then enroll them as a student and confirm membership.
Reads the user, creates a StudentEnrollment in the course, and lists course users to confirm the enrollment landed.
3 steps inputs: courseId, enrollmentState, userId outputs: enrollmentId, studentName
1
getUser
Read the user record to confirm the account exists before enrolling.
2
enrollStudent
Enroll the validated user as a student in the course.
3
confirmRoster
List the course users filtered to students to confirm the newly enrolled student appears on the roster.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Canvas LMS Onboard Student to Course
  summary: Validate a user, enroll them as a student, and confirm course membership.
  description: >-
    A student-onboarding flow for Canvas. The workflow reads the user record to
    confirm the account exists, enrolls that user as a student in the target
    course, and then lists the course users to confirm the student now appears on
    the roster. Every step spells out its request inline so the flow can be read
    and executed without opening the underlying OpenAPI description.
  version: 1.0.0
  x-realizes-capability-ids:
  - BC-4720.10
  x-capability-derivation:
    method: 'deterministic join: sourceDescriptions -> per-tag OpenAPI -> tag/capability edge. No classification at this step.'
    min_confidence: 0.7
    sources:
    - capability_id: BC-4720.10
      capability_name: Enrolment & Registration
      spec: canvas-lms-enrollments-api-openapi.yml
      confidence: 0.85
    model: Turbo EA Capabilities by Vincent Verdet — Turbo EA, https://github.com/vincentmakes/turbo-ea-capabilities, CC BY 4.0
sourceDescriptions:
- name: coursesApi
  url: ../openapi/canvas-lms-courses-api-openapi.yml
  type: openapi
- name: enrollmentsApi
  url: ../openapi/canvas-lms-enrollments-api-openapi.yml
  type: openapi
- name: usersApi
  url: ../openapi/canvas-lms-users-api-openapi.yml
  type: openapi
workflows:
- workflowId: onboard-student-to-course
  summary: Verify a user then enroll them as a student and confirm membership.
  description: >-
    Reads the user, creates a StudentEnrollment in the course, and lists course
    users to confirm the enrollment landed.
  inputs:
    type: object
    required:
    - courseId
    - userId
    properties:
      courseId:
        type: string
        description: The Canvas course id to enroll the student into.
      userId:
        type: string
        description: The Canvas user id of the student.
      enrollmentState:
        type: string
        description: The enrollment state to apply, e.g. active or invited.
  steps:
  - stepId: getUser
    description: >-
      Read the user record to confirm the account exists before enrolling.
    operationId: getUser
    parameters:
    - name: user_id
      in: path
      value: $inputs.userId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      userId: $response.body#/id
      name: $response.body#/name
  - stepId: enrollStudent
    description: >-
      Enroll the validated user as a student in the course.
    operationId: enrollUser
    parameters:
    - name: course_id
      in: path
      value: $inputs.courseId
    requestBody:
      contentType: application/json
      payload:
        enrollment:
          user_id: $inputs.userId
          type: StudentEnrollment
          enrollment_state: $inputs.enrollmentState
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      enrollmentId: $response.body#/id
      enrollmentState: $response.body#/enrollment_state
  - stepId: confirmRoster
    description: >-
      List the course users filtered to students to confirm the newly enrolled
      student appears on the roster.
    operationId: listCourseUsers
    parameters:
    - name: course_id
      in: path
      value: $inputs.courseId
    - name: enrollment_type[]
      in: query
      value:
      - student
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      firstUserId: $response.body#/0/id
  outputs:
    enrollmentId: $steps.enrollStudent.outputs.enrollmentId
    studentName: $steps.getUser.outputs.name

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/canvas-lms-onboard-student-to-course-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.