LearnDash

Instantly transform your site into a powerful learning management system with the LearnDash LMS plugin.

Go to site
Explore
/
Apps
/
LearnDash

LearnDash API Integrations

Build and run workflows using the LearnDash API. Use 1000s of source-available triggers and actions across 1000+ apps. Or write custom code to integrate any app or API in seconds.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    learndash: {
      type: "app",
      app: "learndash",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://${this.learndash.$auth.url}/wp-json/ldlms/v1/sfwd-courses`,
      auth: {
        username: `${this.learndash.$auth.username}`,
        password: `${this.learndash.$auth.application_password}`,
      },
    })
  },
})

Authentication

LearnDash uses API keys for authentication. When you connect your LearnDash account, Pipedream securely stores the keys so you can easily authenticate to LearnDash APIs in both code and no-code steps.

LearnDash uses the WordPress REST API. Follow these instructions to connect your self hosted Wordpress instance; their authentication credentials will be used to access LearnDash API.

This integration requires the Application Passwords plugin to be installed in your Wordpress instance, which allows you to authenticate without having to provide passwords user passwords directly.

The url field below is your WordPress site's domain. For example, if you have a Wordpress.org site hosted at https://example.com, then enter example.com in the url field below.