Skilljar

App · 26 actions

Manage Skilljar domains, learners, course and path enrollments and groups.

Actions

ActionWhat it does
Add a user to a domainAdd a learner to a domain by email.
Add a user to a groupAdd a learner to a group.
Create a groupCreate a group, optionally with email domains whose learners join it automatically.
Delete a groupDelete a group and its memberships.
Enroll a user in a courseEnroll a learner who belongs to the domain in a course published there.
Enroll a user in a pathEnroll a learner who belongs to the domain in a learning path published there.
Get a courseGet one course by its ID.
Get a course enrollmentGet one enrollment in a published course.
Get a domain userGet a learner's membership of a domain.
Get a groupGet one group.
Get a published courseGet a course as published on a domain.
Get a userGet a learner's overview: their name, email, enrollment and completion counts and latest activity.
List course enrollmentsList the enrollments in a course published on a domain.
List coursesList the courses in your organization, optionally only those with a label.
List domain usersList the learners who belong to a domain, optionally filtered by email, name or status.
List domainsList the domains (training sites) in your Skilljar organization.
List group usersList the learners in a group.
List groupsList the groups in your organization, or find one by its exact name.
List path enrollmentsList the enrollments in a learning path published on a domain.
List published coursesList the courses published on a domain.
List published pathsList the learning paths published on a domain.
Remove a user from a groupTake a learner out of a group.
Update a course enrollmentDeactivate or reactivate an enrollment, or change when it expires.
Update a domain userActivate or deactivate a learner on a domain, or change when their access ends.
Update a groupRename a group or change its discount.
Update a userChange a learner's name or email address.

Add a user to a domain

Add a learner to a domain by email. A new email creates the learner; an existing one adds them and returns their details.

Inputs

Domaindomain_nametextRequired
The Skilljar domain (your training site) to work in.
EmailemailtextRequired
The learner's email address.
First namefirst_nametext
The learner's first name.
Last namelast_nametext
The learner's last name.
Activeactivetrue/false
Whether the learner can reach a private domain. On by default.
Expires atexpires_atdate and time
When access ends. Leave blank for no end date.

Outputs

dataobject
The response from Skilljar.
Example output
{
  "data": {
    "access_code": {
      "code": "example",
      "id": "example",
      "pool": {
        "id": "example",
        "name": "example"
      }
    },
    "active": false,
    "enrolled_at": "example",
    "expires_at": "example",
    "login_token": "example",
    "marketing_optin": false,
    "signup_fields": [],
    "user": {
      "email": "example",
      "first_name": "example",
      "full_name": "example",
      "id": "example",
      "last_name": "example"
    }
  }
}

Add a user to a group

Add a learner to a group.

Inputs

Groupgroup_idtextRequired
The group.
Learner IDlearner_idtextRequired
The learner's Skilljar user ID.

Outputs

dataobject
The response from Skilljar.
Example output
{
  "data": {
    "created_at": "example",
    "user": {
      "email": "example",
      "first_name": "example",
      "id": "example",
      "last_name": "example"
    }
  }
}

Create a group

Create a group, optionally with email domains whose learners join it automatically.

Inputs

NamenametextRequired
The group's name, unique in your organization.
Discount percentdiscount_percentnumber
A percentage discount on everything the group's members buy.From 0 to 100.
Email domainsrule_email_domainslist
Email domains (such as example.com) whose learners are added to the group when they register.

Outputs

dataobject
The response from Skilljar.
Example output
{
  "data": {
    "discount_percent": 1,
    "group_category_id": "example",
    "id": "example",
    "name": "example",
    "rule_email_domains": [],
    "sign_up_field_rule": {
      "enforce": false,
      "options": [],
      "require_match_all": false
    },
    "user_count": 1
  }
}

Delete a group

Delete a group and its memberships. Its learners are kept.

Inputs

Groupgroup_idtextRequired
The group.

Outputs

dataobject
The response from Skilljar.
Example output
{
  "data": {}
}

Enroll a user in a course

Enroll a learner who belongs to the domain in a course published there.

Inputs

Domaindomain_nametextRequired
The Skilljar domain (your training site) to work in.
Published coursepublished_course_idtextRequired
The course as published on the domain.
Learnerlearner_idtextRequired
The learner, picked from the domain's users.
Expires atexpires_atdate and time
When access ends. Leave blank for no end date.

Outputs

dataobject
The response from Skilljar.
Example output
{
  "data": {
    "active": false,
    "enrolled_at": "example",
    "expires_at": "example",
    "feedback": "example",
    "id": "example",
    "purchase": {
      "offer_price": {
        "amount": "example",
        "currency_code": "example"
      },
      "order_id": "example",
      "payment_processor": "example",
      "purchase_id": "example",
      "purchase_price": {
        "amount": "example",
        "currency_code": "example"
      },
      "purchase_state": "CREATED",
      "purchased_at": "example",
      "quantity": 1,
      "tax_price_cents": 1
    },
    "rating": 1,
    "user": {
      "email": "example",
      "first_name": "example",
      "id": "example",
      "last_name": "example"
    }
  }
}

Enroll a user in a path

Enroll a learner who belongs to the domain in a learning path published there.

Inputs

Domaindomain_nametextRequired
The Skilljar domain (your training site) to work in.
Published pathpublished_path_idtextRequired
The learning path as published on the domain.
Learnerlearner_idtextRequired
The learner, picked from the domain's users.
Expires atexpires_atdate and time
When access ends. Leave blank for no end date.

Outputs

dataobject
The response from Skilljar.
Example output
{
  "data": {
    "active": false,
    "enrolled_at": "example",
    "expires_at": "example",
    "id": "example",
    "purchase": {
      "offer_price": {
        "amount": "example",
        "currency_code": "example"
      },
      "order_id": "example",
      "payment_processor": "example",
      "purchase_id": "example",
      "purchase_price": {
        "amount": "example",
        "currency_code": "example"
      },
      "purchase_state": "CREATED",
      "purchased_at": "example",
      "quantity": 1,
      "tax_price_cents": 1
    },
    "user": {
      "email": "example",
      "first_name": "example",
      "id": "example",
      "last_name": "example"
    }
  }
}

Get a course

Get one course by its ID.

Inputs

Coursecourse_idtextRequired
The course.

Outputs

dataobject
Course Serializer
Example output
{
  "data": {
    "average_rating": 1.0,
    "course_and_lesson_time_format": "example",
    "course_time": "example",
    "created_at": "example",
    "display_course_and_lesson_time": false,
    "display_manual_course_time": false,
    "draft_origin_id": "example",
    "enforce_sequential_navigation": false,
    "id": "example",
    "labels": [],
    "long_description_html": "example",
    "manual_course_time": "example",
    "modified_at": "example",
    "promo_image_url": "example",
    "short_description": "example",
    "title": "example"
  }
}

Get a course enrollment

Get one enrollment in a published course.

Inputs

Domaindomain_nametextRequired
The Skilljar domain (your training site) to work in.
Published coursepublished_course_idtextRequired
The course as published on the domain.
Enrollment IDenrollment_idtextRequired
The enrollment's ID.

Outputs

dataobject
The response from Skilljar.
Example output
{
  "data": {
    "active": false,
    "enrolled_at": "example",
    "expires_at": "example",
    "feedback": "example",
    "id": "example",
    "purchase": {
      "offer_price": {
        "amount": "example",
        "currency_code": "example"
      },
      "order_id": "example",
      "payment_processor": "example",
      "purchase_id": "example",
      "purchase_price": {
        "amount": "example",
        "currency_code": "example"
      },
      "purchase_state": "CREATED",
      "purchased_at": "example",
      "quantity": 1,
      "tax_price_cents": 1
    },
    "rating": 1,
    "user": {
      "email": "example",
      "first_name": "example",
      "id": "example",
      "last_name": "example"
    }
  }
}

Get a domain user

Get a learner's membership of a domain.

Inputs

Domaindomain_nametextRequired
The Skilljar domain (your training site) to work in.
Learnerlearner_idtextRequired
The learner, picked from the domain's users.

Outputs

dataobject
The response from Skilljar.
Example output
{
  "data": {
    "access_code": {
      "code": "example",
      "id": "example",
      "pool": {
        "id": "example",
        "name": "example"
      }
    },
    "active": false,
    "enrolled_at": "example",
    "expires_at": "example",
    "marketing_optin": false,
    "signup_fields": [],
    "user": {
      "email": "example",
      "first_name": "example",
      "full_name": "example",
      "id": "example",
      "last_name": "example"
    }
  }
}

Get a group

Get one group.

Inputs

Groupgroup_idtextRequired
The group.

Outputs

dataobject
The response from Skilljar.
Example output
{
  "data": {
    "discount_percent": 1,
    "group_category_id": "example",
    "id": "example",
    "name": "example",
    "rule_email_domains": [],
    "sign_up_field_rule": {
      "enforce": false,
      "options": [],
      "require_match_all": false
    },
    "user_count": 1
  }
}

Get a published course

Get a course as published on a domain.

Inputs

Domaindomain_nametextRequired
The Skilljar domain (your training site) to work in.
Published coursepublished_course_idtextRequired
The course as published on the domain.

Outputs

dataobject
The response from Skilljar.
Example output
{
  "data": {
    "allow_self_service_reenroll": false,
    "course": {
      "id": "example",
      "lesson_count": 1,
      "long_description_html": "example",
      "required_lesson_count": 1,
      "short_description": "example",
      "title": "example"
    },
    "course_url": "example",
    "hidden": false,
    "id": "example",
    "offer": {
      "id": "example",
      "price": {
        "amount": "example",
        "currency_code": "example"
      },
      "registration_open": false,
      "registration_url": "example"
    },
    "registration_ends_at": "example",
    "registration_required": false,
    "registration_starts_at": "example",
    "require_all_prerequisites": false,
    "restrict_access_start_end_dates": false,
    "slug": "example",
    "strict_enforce_group_visibility": false,
    "timezone": "example",
    "unique_progress_per_enrollment": false
  }
}

Get a user

Get a learner's overview: their name, email, enrollment and completion counts and latest activity.

Inputs

Learner IDlearner_idtextRequired
The learner's Skilljar user ID.

Outputs

dataobject
The response from Skilljar.
Example output
{
  "data": {
    "completion_count": 1,
    "inactive_at": "example",
    "latest_activity": "example",
    "registration_count": 1,
    "signed_up_at": "example",
    "user": {
      "email": "example",
      "first_name": "example",
      "id": "example",
      "last_name": "example"
    }
  }
}

List course enrollments

List the enrollments in a course published on a domain.

Inputs

Domaindomain_nametextRequired
The Skilljar domain (your training site) to work in.
Published coursepublished_course_idtextRequired
The course as published on the domain.
Pagepagenumber
Which page of results to return, starting at 1.At least 1.
Page sizepage_sizenumber
How many results to return on each page.From 1 to 100.

Outputs

dataobject
The response from Skilljar.
Example output
{
  "data": {
    "count": 1,
    "next": "example",
    "previous": "example",
    "results": []
  }
}

List courses

List the courses in your organization, optionally only those with a label.

Inputs

Labellabel_nametext
Only courses with this exact label.
Pagepagenumber
Which page of results to return, starting at 1.At least 1.
Page sizepage_sizenumber
How many results to return on each page.From 1 to 100.

Outputs

dataobject
The response from Skilljar.
Example output
{
  "data": {
    "count": 1,
    "next": "example",
    "previous": "example",
    "results": []
  }
}

List domain users

List the learners who belong to a domain, optionally filtered by email, name or status.

Inputs

Domaindomain_nametextRequired
The Skilljar domain (your training site) to work in.
Emailemailtext
Only the learner with this email address.
First namefirst_nametext
Only learners with this first name (case sensitive).
Last namelast_nametext
Only learners with this last name (case sensitive).
Activeactivetrue/false
Only active learners (on) or only inactive ones (off).
Pagepagenumber
Which page of results to return, starting at 1.At least 1.
Page sizepage_sizenumber
How many results to return on each page.From 1 to 100.

Outputs

dataobject
The response from Skilljar.
Example output
{
  "data": {
    "count": 1,
    "next": "example",
    "previous": "example",
    "results": []
  }
}

List domains

List the domains (training sites) in your Skilljar organization.

Inputs

Pagepagenumber
Which page of results to return, starting at 1.At least 1.

Outputs

dataobject
The response from Skilljar.
Example output
{
  "data": {
    "count": 1,
    "next": "example",
    "previous": "example",
    "results": []
  }
}

List group users

List the learners in a group.

Inputs

Groupgroup_idtextRequired
The group.
Pagepagenumber
Which page of results to return, starting at 1.At least 1.
Page sizepage_sizenumber
How many results to return on each page.From 1 to 100.

Outputs

dataobject
The response from Skilljar.
Example output
{
  "data": {
    "count": 1,
    "next": "example",
    "previous": "example",
    "results": []
  }
}

List groups

List the groups in your organization, or find one by its exact name.

Inputs

Namenametext
Only the group with this exact name.
Pagepagenumber
Which page of results to return, starting at 1.At least 1.
Page sizepage_sizenumber
How many results to return on each page.From 1 to 100.

Outputs

dataobject
The response from Skilljar.
Example output
{
  "data": {
    "count": 1,
    "next": "example",
    "previous": "example",
    "results": []
  }
}

List path enrollments

List the enrollments in a learning path published on a domain.

Inputs

Domaindomain_nametextRequired
The Skilljar domain (your training site) to work in.
Published pathpublished_path_idtextRequired
The learning path as published on the domain.
Pagepagenumber
Which page of results to return, starting at 1.At least 1.
Page sizepage_sizenumber
How many results to return on each page.From 1 to 100.

Outputs

dataobject
The response from Skilljar.
Example output
{
  "data": {
    "count": 1,
    "next": "example",
    "previous": "example",
    "results": []
  }
}

List published courses

List the courses published on a domain.

Inputs

Domaindomain_nametextRequired
The Skilljar domain (your training site) to work in.
Searchsearchtext
Only courses matching this catalog search.
Coursecourse_idtext
Only the publication of this course.
Pagepagenumber
Which page of results to return, starting at 1.At least 1.

Outputs

dataobject
The response from Skilljar.
Example output
{
  "data": {
    "count": 1,
    "next": "example",
    "previous": "example",
    "results": []
  }
}

List published paths

List the learning paths published on a domain.

Inputs

Domaindomain_nametextRequired
The Skilljar domain (your training site) to work in.
Searchsearchtext
Only paths matching this catalog search.
Pagepagenumber
Which page of results to return, starting at 1.At least 1.

Outputs

dataobject
The response from Skilljar.
Example output
{
  "data": {
    "count": 1,
    "next": "example",
    "previous": "example",
    "results": []
  }
}

Remove a user from a group

Take a learner out of a group. Their account is kept.

Inputs

Groupgroup_idtextRequired
The group.
Learner IDlearner_idtextRequired
The learner's Skilljar user ID.

Outputs

dataobject
The response from Skilljar.
Example output
{
  "data": {}
}

Update a course enrollment

Deactivate or reactivate an enrollment, or change when it expires.

Inputs

Domaindomain_nametextRequired
The Skilljar domain (your training site) to work in.
Published coursepublished_course_idtextRequired
The course as published on the domain.
Enrollment IDenrollment_idtextRequired
The enrollment's ID.
Activeactivetrue/false
Whether the enrollment is active.
Expires atexpires_atdate and time
When access ends. Leave blank for no end date.

Outputs

dataobject
The response from Skilljar.
Example output
{
  "data": {
    "active": false,
    "enrolled_at": "example",
    "expires_at": "example",
    "feedback": "example",
    "id": "example",
    "purchase": {
      "offer_price": {
        "amount": "example",
        "currency_code": "example"
      },
      "order_id": "example",
      "payment_processor": "example",
      "purchase_id": "example",
      "purchase_price": {
        "amount": "example",
        "currency_code": "example"
      },
      "purchase_state": "CREATED",
      "purchased_at": "example",
      "quantity": 1,
      "tax_price_cents": 1
    },
    "rating": 1,
    "user": {
      "email": "example",
      "first_name": "example",
      "id": "example",
      "last_name": "example"
    }
  }
}

Update a domain user

Activate or deactivate a learner on a domain, or change when their access ends.

Inputs

Domaindomain_nametextRequired
The Skilljar domain (your training site) to work in.
Learnerlearner_idtextRequired
The learner, picked from the domain's users.
Activeactivetrue/false
Whether the learner can reach a private domain.
Expires atexpires_atdate and time
When access ends. Leave blank for no end date.

Outputs

dataobject
The response from Skilljar.
Example output
{
  "data": {
    "access_code": {
      "code": "example",
      "id": "example",
      "pool": {
        "id": "example",
        "name": "example"
      }
    },
    "active": false,
    "enrolled_at": "example",
    "expires_at": "example",
    "login_token": "example",
    "marketing_optin": false,
    "signup_fields": [],
    "user": {
      "email": "example",
      "first_name": "example",
      "full_name": "example",
      "id": "example",
      "last_name": "example"
    }
  }
}

Update a group

Rename a group or change its discount.

Inputs

Groupgroup_idtextRequired
The group.
Namenametext
The group's new name.
Discount percentdiscount_percentnumber
A percentage discount on everything the group's members buy.From 0 to 100.

Outputs

dataobject
The response from Skilljar.
Example output
{
  "data": {
    "discount_percent": 1,
    "group_category_id": "example",
    "id": "example",
    "name": "example",
    "rule_email_domains": [],
    "sign_up_field_rule": {
      "enforce": false,
      "options": [],
      "require_match_all": false
    },
    "user_count": 1
  }
}

Update a user

Change a learner's name or email address.

Inputs

Learner IDlearner_idtextRequired
The learner's Skilljar user ID.
Emailemailtext
The new email address.
First namefirst_nametext
The new first name.
Last namelast_nametext
The new last name.

Outputs

dataobject
Version of the user serializer configured to update a user's name and email address.
Example output
{
  "data": {
    "email": "example",
    "first_name": "example",
    "id": "example",
    "inactive_at": "example",
    "last_name": "example"
  }
}

On this page