> ## Documentation Index
> Fetch the complete documentation index at: https://apidocs.sesametime.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List courses

> List the degrees and courses the company offers in one profile section (paginated). Each section has its own catalogue.

Version:
v4


## OpenAPI

````yaml openapi-v2.json GET /core/v4/courses
openapi: 3.0.0
info:
  title: Sesame Public API v2
  description: >-
    Public API v2 — additive surface `/public/{context}/v{N}`,
    endpoint-versioned from v4
  version: 1.0.0
servers:
  - url: https://api.sesamehr.com
    description: Production
security:
  - Bearer: []
paths:
  /core/v4/courses:
    get:
      tags:
        - Courses
      summary: List courses
      description: >-
        List the degrees and courses the company offers in one profile section
        (paginated). Each section has its own catalogue.
      operationId: ListCourses
      parameters:
        - name: section
          in: query
          description: Profile section whose catalogue is listed.
          required: true
          schema:
            type: string
            enum:
              - official
              - complementary
            example: official
        - name: page
          in: query
          required: false
          schema:
            type: integer
            default: 1
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            default: 20
      responses:
        '200':
          description: The paginated course catalogue of the section.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListCoursesResponse'
        '401':
          description: Missing or invalid API key
        '403':
          description: API consumer lacks permission over the requested resource
        '422':
          description: Validation error
components:
  schemas:
    ListCoursesResponse:
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/CourseEntry'
        meta:
          $ref: '#/components/schemas/PaginationMetaEntry'
      type: object
    CourseEntry:
      properties:
        id:
          type: string
          format: uuid
          example: 3f1c2a9e-8b7d-4c61-9e2f-5a4b3c2d1e0f
        name:
          type: string
          example: Grado en Enfermería
        section:
          description: >-
            Profile section the course belongs to: official education or
            complementary training.
          type: string
          enum:
            - official
            - complementary
          example: official
        createdAt:
          type: string
          format: date-time
          example: '2026-11-03T10:15:00+00:00'
        updatedAt:
          type: string
          format: date-time
          example: '2026-11-03T10:15:00+00:00'
      type: object
    PaginationMetaEntry:
      properties:
        currentPage:
          description: Current page number (1-based).
          type: integer
        lastPage:
          description: Last available page number.
          type: integer
        total:
          description: Total number of items across all pages.
          type: integer
        perPage:
          description: Number of items per page.
          type: integer
      type: object
  securitySchemes:
    Bearer:
      type: http
      description: 'Sesame Public API consumer token (Authorization: Bearer <token>)'
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.