List
The list endpoint allows you to list pathways and enrolments for a given array of pathway names or IDs. If either name or ID is not provided it will return all pathways and enrollments
Parameters
Key
Type
pathways
Array String (Name or ID of pathway)
DEPRECATED
name
String (Name of a pathway)
ID
String (Pathway SKU)
Example
The example below retrieves a single pathway with related user enrolments. Each user enrolment contains their details and pathway progress.
Success Response
The response will contain an array of pathways. In the enrolment property will be an array of user enrolments. The enrolment object is detailed in the Pathway enrolment webhook.
Last updated