Heights Platform
heights_platformHeights Platform helps creators build and sell online courses, digital products, and communities while managing students, orders, and access.
Acciones disponibles (16)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Enroll StudentHEIGHTS_PLATFORM_ENROLL_STUDENTAcciónCreate a student or update an existing student and mark them enrolled without granting course or bundle access. Use Grant Student Access when the student should also receive a learning product.
HEIGHTS_PLATFORM_ENROLL_STUDENTAcciónCreate a student or update an existing student and mark them enrolled without granting course or bundle access. Use Grant Student Access when the student should also receive a learning product.
Parámetros de entrada
student_namestringStudent name. Heights requires this when the email does not already identify a student.
student_emailstringObligatorioemailEmail address of the student to create, update, or enroll.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Learning ProductHEIGHTS_PLATFORM_GET_LEARNING_PRODUCTAcciónGet detailed metadata for one course, bundle, or digital product by ID.
HEIGHTS_PLATFORM_GET_LEARNING_PRODUCTAcciónGet detailed metadata for one course, bundle, or digital product by ID.
Parámetros de entrada
resource_idintegerObligatorioCourse, bundle, or digital product ID returned by List Learning Products.
resource_typestringObligatorioenumType of learning product to retrieve.
coursebundledigital_product
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get OrderHEIGHTS_PLATFORM_GET_ORDERAcciónGet one Heights order by its public unique order ID.
HEIGHTS_PLATFORM_GET_ORDERAcciónGet one Heights order by its public unique order ID.
Parámetros de entrada
order_idstringObligatorioPublic order ID returned by List Orders or a new_order webhook payload.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Student Course ProgressHEIGHTS_PLATFORM_GET_STUDENT_COURSE_PROGRESSAcciónGet a student's overall and course-specific completion percentages for one course.
HEIGHTS_PLATFORM_GET_STUDENT_COURSE_PROGRESSAcciónGet a student's overall and course-specific completion percentages for one course.
Parámetros de entrada
course_idintegerObligatorioCourse ID whose completion percentage should be inspected.
student_emailstringObligatorioemailEmail address of the student whose progress should be returned.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Student DetailsHEIGHTS_PLATFORM_GET_STUDENT_DETAILSAcciónGet a student by email, including account attributes, activity counts, paid orders, and enrolled courses.
HEIGHTS_PLATFORM_GET_STUDENT_DETAILSAcciónGet a student by email, including account attributes, activity counts, paid orders, and enrolled courses.
Parámetros de entrada
student_emailstringObligatorioemailExact email address of the student to retrieve.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Grant Student AccessHEIGHTS_PLATFORM_GRANT_STUDENT_ACCESSAcciónGrant one course or bundle to a student by creating a zero-dollar paid order. Heights also creates or updates the student and marks them enrolled. This is non-idempotent because retrying can create another access order; do not automatically retry an ambiguous result.
HEIGHTS_PLATFORM_GRANT_STUDENT_ACCESSAcciónGrant one course or bundle to a student by creating a zero-dollar paid order. Heights also creates or updates the student and marks them enrolled. This is non-idempotent because retrying can create another access order; do not automatically retry an ambiguous result.
Parámetros de entrada
resource_idintegerObligatorioID of the course or bundle to grant. The ID type must match resource_type.
student_namestringStudent name. Heights requires this when the email does not already identify a student.
resource_typestringObligatorioenumType of learning product to grant: course or bundle.
coursebundlestudent_emailstringObligatorioemailEmail address of the student who should receive access.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Grant Student RoleHEIGHTS_PLATFORM_GRANT_STUDENT_ROLEAcciónGrant one Heights role to a student, changing the student's authorization. Use a role ID returned by List Course Roles.
HEIGHTS_PLATFORM_GRANT_STUDENT_ROLEAcciónGrant one Heights role to a student, changing the student's authorization. Use a role ID returned by List Course Roles.
Parámetros de entrada
role_idintegerObligatorioRole ID returned by List Course Roles.
student_emailstringObligatorioemailEmail address of the student who should receive the role.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Course RolesHEIGHTS_PLATFORM_LIST_COURSE_ROLESAcciónList the Heights roles that can be granted to students.
HEIGHTS_PLATFORM_LIST_COURSE_ROLESAcciónList the Heights roles that can be granted to students.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Learning ProductsHEIGHTS_PLATFORM_LIST_LEARNING_PRODUCTSAcciónList published courses, bundles, or digital products in the connected Heights account.
HEIGHTS_PLATFORM_LIST_LEARNING_PRODUCTSAcciónList published courses, bundles, or digital products in the connected Heights account.
Parámetros de entrada
resource_typestringObligatorioenumType of learning product to list.
coursebundledigital_product
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List OrdersHEIGHTS_PLATFORM_LIST_ORDERSAcciónList Heights orders with optional status, student email, and creation-time filters, returning one page and an opaque continuation cursor.
HEIGHTS_PLATFORM_LIST_ORDERSAcciónList Heights orders with optional status, student email, and creation-time filters, returning one page and an opaque continuation cursor.
Parámetros de entrada
statusstringenumOrder status to return; use 'all' to include every status.
pendingfailedpaidpaypal_executedallpage_sizeintegerMaximum orders to return in this page (1-100).
next_cursorstringOpaque continuation cursor returned by a previous List Orders call; it retains the original filters and page size.
created_afterstringdate-timeReturn orders created at or after this ISO 8601 timestamp.
student_emailstringemailReturn only orders for this exact student email address.
created_beforestringdate-timeReturn orders created at or before this ISO 8601 timestamp.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List StudentsHEIGHTS_PLATFORM_LIST_STUDENTSAcciónList all Heights students one page at a time, or list the unpaginated students whose total completion is at least 100 percent.
HEIGHTS_PLATFORM_LIST_STUDENTSAcciónList all Heights students one page at a time, or list the unpaginated students whose total completion is at least 100 percent.
Parámetros de entrada
next_cursorstringContinuation cursor returned by a previous all-students page; omit when completion_filter is 'completed'.
completion_filterstringenumWhether to list all students or only students whose total completion is at least 100 percent.
allcompleted
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Student SubmissionsHEIGHTS_PLATFORM_LIST_STUDENT_SUBMISSIONSAcciónList assignment answers or project posts submitted by students.
HEIGHTS_PLATFORM_LIST_STUDENT_SUBMISSIONSAcciónList assignment answers or project posts submitted by students.
Parámetros de entrada
submission_typestringObligatorioenumType of student submission to list.
assignment_answerproject_post
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Reset Student ProgressHEIGHTS_PLATFORM_RESET_STUDENT_PROGRESSAcciónPermanently erase a student's saved completion and progress records. For a course, this resets the selected course only. For a bundle, this resets every course in that bundle. This destructive change cannot be undone; confirm the student, resource type, and resource ID before calling. Do not automatically retry an ambiguous result.
HEIGHTS_PLATFORM_RESET_STUDENT_PROGRESSAcciónPermanently erase a student's saved completion and progress records. For a course, this resets the selected course only. For a bundle, this resets every course in that bundle. This destructive change cannot be undone; confirm the student, resource type, and resource ID before calling. Do not automatically retry an ambiguous result.
Parámetros de entrada
resource_idintegerObligatorioID of the course or bundle whose saved progress will be permanently erased. The ID type must match resource_type.
resource_typestringObligatorioenumScope of the permanent reset: course erases progress for one course; bundle erases progress for every course in the bundle.
coursebundlestudent_emailstringObligatorioemailEmail address of the student whose saved progress will be permanently erased.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Revoke Student AccessHEIGHTS_PLATFORM_REVOKE_STUDENT_ACCESSAcciónPermanently remove one course or bundle from a student's existing orders. Course revocation removes that course from every applicable order. Bundle revocation cascades: it removes the bundle and the bundle's courses and digital products from the student's orders. This can immediately remove content access and is not automatically reversible; verify the student, resource type, and resource ID before calling.
HEIGHTS_PLATFORM_REVOKE_STUDENT_ACCESSAcciónPermanently remove one course or bundle from a student's existing orders. Course revocation removes that course from every applicable order. Bundle revocation cascades: it removes the bundle and the bundle's courses and digital products from the student's orders. This can immediately remove content access and is not automatically reversible; verify the student, resource type, and resource ID before calling.
Parámetros de entrada
resource_idintegerObligatorioID of the course or bundle whose access should be permanently revoked.
student_namestringStudent name. Required for course revocation; ignored and not sent for bundle revocation.
resource_typestringObligatorioenumType of access to revoke. Revoking a bundle also removes its courses and digital products from the student's orders.
coursebundlestudent_emailstringObligatorioemailEmail address of the student whose access should be revoked.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Revoke Student RoleHEIGHTS_PLATFORM_REVOKE_STUDENT_ROLEAcciónRevoke one Heights role from a student, changing the student's authorization. Use a role ID returned by List Course Roles.
HEIGHTS_PLATFORM_REVOKE_STUDENT_ROLEAcciónRevoke one Heights role from a student, changing the student's authorization. Use a role ID returned by List Course Roles.
Parámetros de entrada
role_idintegerObligatorioRole ID returned by List Course Roles.
student_emailstringObligatorioemailEmail address of the student whose role should be revoked.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Unenroll StudentHEIGHTS_PLATFORM_UNENROLL_STUDENTAcciónEnd a student's paid membership by setting their Heights paying-student state to false. This changes the student's membership state; it does not delete the student account or promise to remove separately granted course or bundle access.
HEIGHTS_PLATFORM_UNENROLL_STUDENTAcciónEnd a student's paid membership by setting their Heights paying-student state to false. This changes the student's membership state; it does not delete the student account or promise to remove separately granted course or bundle access.
Parámetros de entrada
student_namestringObligatorioName of the student to unenroll, required by this Heights endpoint.
student_emailstringObligatorioemailEmail address of the student whose paid membership should be ended.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not