> ## 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.

# Add employee official education

> Add an official education to an employee. The same degree can be added more than once; each call creates a new formation and returns its id.

Version:
v4


## OpenAPI

````yaml openapi-v2.json POST /core/v4/employees/{employeeId}/official-educations
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/employees/{employeeId}/official-educations:
    post:
      tags:
        - Official Education
      summary: Add employee official education
      description: >-
        Add an official education to an employee. The same degree can be added
        more than once; each call creates a new formation and returns its id.
      operationId: CreateEmployeeOfficialEducation
      parameters:
        - name: employeeId
          in: path
          required: true
          schema:
            type: string
            format: uuid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateEmployeeOfficialEducationRequest'
      responses:
        '201':
          description: The identifier of the created official education.
          content:
            application/json:
              schema:
                properties:
                  data:
                    $ref: '#/components/schemas/CreatedEntry'
                type: object
        '401':
          description: Missing or invalid API key
        '403':
          description: API consumer lacks permission over the requested resource
        '422':
          description: Validation error
components:
  schemas:
    CreateEmployeeOfficialEducationRequest:
      required:
        - courseId
        - schoolId
      properties:
        courseId:
          description: >-
            Degree or course of the official education catalogue (GET
            /courses?section=official).
          type: string
          format: uuid
          example: 5f0704e4-c53b-4858-ae24-3a779cf7248d
        schoolId:
          description: >-
            Centre of the official education catalogue (GET
            /schools?section=official).
          type: string
          format: uuid
          example: 9d6ce97f-e48f-476f-bb8f-f1a8f6ea9db7
        startDate:
          type: string
          format: date
          example: '2026-03-01'
          nullable: true
        endDate:
          description: Cannot be before startDate.
          type: string
          format: date
          example: '2026-06-30'
          nullable: true
        comment:
          type: string
          maxLength: 100
          example: Mención en neurología
          nullable: true
      type: object
    CreatedEntry:
      properties:
        id:
          description: Identifier of the created resource.
          type: string
          format: uuid
      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.