LearnDash icon

LearnDash

Interact with the LearnDash LMS REST API

Actions60

Assignments → Get

AI-generated

Summary

Retrieve a single LearnDash assignment by specifying its numeric ID.

Inputs

  • Item ID (required) — The numeric ID of the assignment to retrieve.
  • Query Parameters (JSON) — Optional JSON-formatted string of query parameters to apply to the request for advanced filtering or options.

Output shape

a single JSON object representing the assignment corresponding to the specified ID.

If additional query parameters are provided, they are included in the request and may affect the returned result. Errors are reported if the ID is invalid or the assignment does not exist.

Discussion