Jump to content
View in the app

A better way to browse. Learn more.

Learn more

Cloud Creator Pro: API Lookup of Member Course Enrollments and Duplicate Enrollment Behavior

Featured Replies

Hello,

I'm building a WordPress integration with WooCommerce and connecting it to the Courses.

  • My WordPress connection and REST authentication are working.

  • I can inspect enrollments manually through ACP.

  • I cannot inspect Invision’s underlying code/database through WordPress.

I am running Invision Community 5.0.20 on Cloud and I am integrating WooCommerce through your REST API.

I have tried to use Zapier, and it's a pain in the *** and it requires a monthly fee.

So ChatGPT Codex is helping me do the integration.

Member lookup, course lookup, and authentication work. Before enrolling a member, I need to retrieve their existing course enrollments and distinguish active, completed, and withdrawn status.

  1. Is there a supported REST or GraphQL query that returns a member’s course enrollments?

  2. How can we check effective course access, including access through group permissions?

  3. What happens when POST /courses/courses/{id}/enroll/{member} is called for an already-active, completed, or withdrawn enrollment? Can it duplicate enrollment or reset progress?

  4. If enrollment lookup is unavailable, can you provide a supported endpoint or permit a custom read-only extension on our Cloud Creator Pro plan?

WordPress connects successfully to Invision, but we haven’t found a supported API to check which courses a member is already enrolled in before granting access.

Thanks a lot

  • Community Expert
  1. Our available REST API endpoints for courses can be found here: https://invisioncommunity.com/developers/api-reference/?endpoint=courses%2Fcourses%2FGETindex

  2. We do not have an access endpoint which validates if a given user can access.

  3. My guess is depending on your settings, it will fail but I have marked this to a developer to confirm.

  4. See #2. There is nothing at this time but you can certainly suggest in the Feedback forum ways to improve this.

  • Author
56 minutes ago, Jim M said:
  1. Our available REST API endpoints for courses can be found here: https://invisioncommunity.com/developers/api-reference/?endpoint=courses%2Fcourses%2FGETindex

  2. We do not have an access endpoint which validates if a given user can access.

  3. My guess is depending on your settings, it will fail but I have marked this to a developer to confirm.

  4. See #2. There is nothing at this time but you can certainly suggest in the Feedback forum ways to improve this.

Thanks a lot Jim.

Were there any endpoints added to the products? Thanks

  • Author
21 minutes ago, michimachi said:

My guess is depending on your settings, it will fail but I have marked this to a developer to confirm.

Thank you. Please confirm the exact behavior of the enrollment POST for active, completed, and withdrawn enrollments—particularly whether it preserves progress, prevents duplicate records, and returns a distinguishable HTTP status/error. This determines whether our WooCommerce integration can safely call it without an enrollment lookup.

Edited by michimachi

Recently Browsing 0

  • No registered users viewing this page.

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.